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

Allow from field of $lookup and $graphLookup to be an expression

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • Query Optimization
    • Fully Compatible

    Description

      Example Query

      {
          $lookup: {
              from: "$foo.collectionName",
              localField: "foo.ref",
              foreignField: "bar",
              as: "foo"
          }
      }
      

      Attachments

        Activity

          People

            Votes:
            24 Vote for this issue
            Watchers:
            35 Start watching this issue

            Dates

              Created:
              Updated: