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

XMLWordPrintableJSON

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

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

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Faleij
            Votes:
            25 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated: