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

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Aggregation Framework
    • Fully Compatible

    Description

      Example Query

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: