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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Aggregation Framework
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      Example Query

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              Faleij Faleij
              Participants:
              Votes:
              11 Vote for this issue
              Watchers:
              22 Start watching this issue

                Dates

                Created:
                Updated: