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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Query Optimization
    • Fully Compatible

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

            Votes:
            25 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated: