Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
3.6.0-rc3
-
None
-
Fully Compatible
-
ALL
-
Query 2017-11-13, Query 2017-12-04
Description
{$lookup:{ from:'x',
|
let: { a : "$$ROOT"},
|
pipeline: [ {$addFields:{a:"$$a.field"}} ]
|
...
|
}}
|
Referencing "$$a.field" returns full object "$$a" instead of just field 'field'
Attachments
Issue Links
- is related to
-
SERVER-31962 Replace Variables::hasUserDefinedValue() with a method that checks whether a variable is constant
-
- Closed
-