[SERVER-3548] use field path prefix consistently on rhs expressions Created: 08/Aug/11  Updated: 12/Jul/16  Resolved: 08/Aug/11

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

Type: Improvement Priority: Major - P3
Reporter: Chris Westin Assignee: Chris Westin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-447 new aggregation framework Closed
Participants:

 Description   

I've gotten complaints from people after two of the sneak peek talks I've done about being inconsistent about the use of $ at the beginning of field paths on the right hand side of projection and other specifications. There are contexts where it is not required, because the fact that the specification is a field path is unambiguous, and this has made people unsure of where and when they are required. I'll make it consistent.



 Comments   
Comment by Chris Westin [ 08/Aug/11 ]

Fixed to always require leading $. Updated regression tests in jstests/aggregation/testall.js.

Generated at Thu Feb 08 03:03:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.