[SERVER-24302] Make "as" option of $filter and $map default to "this" Created: 26/May/16  Updated: 17/May/19  Resolved: 30/Jun/16

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Sally McNichols
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-8915 Make "as" option of $filter and $map ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 16 (06/24/16), Query 17 (07/15/16)
Participants:

 Description   

Since we added $reduce to have variable names "this" and "value" during SERVER-17258, we should update $map and $filter to default their "as" option to "this".



 Comments   
Comment by Githook User [ 30/Jun/16 ]

Author:

{u'username': u'smcnichols', u'name': u'Sally McNichols', u'email': u'sally.mcnichols@mongodb.com'}

Message: SERVER-24302 Make "as" option of $filter and $map default to "this"
Branch: master
https://github.com/mongodb/mongo/commit/f3919fcaa84bc10597df41d250a7493e2b378bba

Generated at Thu Feb 08 04:05:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.