Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23180

array in $lookup localField should not be interpreted literally

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • None
    • ALL

    Description

      In $lookup if the value of localField is an array, we try to use it as a literal array to match foreignField. That seems wrong (or at least not useful). It should instead use the content of the array field as $in in the lookup rather than $eq.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: