dotted expression with expressive lookup don't get expanded

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2017-11-13, Query 2017-12-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      {$lookup:{ from:'x',
                       let: { a : "$$ROOT"},
                       pipeline: [ {$addFields:{a:"$$a.field"}} ]
      ...
      }}
      

      Referencing "$$a.field" returns full object "$$a" instead of just field 'field'

            Assignee:
            James Wahlin
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: