[DOCS-7849] Error at Reference Cards Created: 10/May/16  Updated: 06/Sep/17  Resolved: 06/Sep/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Juan Antonio Roy Couto Assignee: Eric Holzhauer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 6 years, 23 weeks ago

 Description   

There is an error in the last example of the Reference Cards section 'Mapping SQL to MongoDB'

db.users.aggregate( [
{$project: {“how_old”:“$age”}}
])

I think It should be:

db.users.aggregate( [
{$project: {“how_old”:“$age”, _id : 0 }}
])

Regards,
Juan



 Comments   
Comment by Eric Holzhauer [ 06/Sep/17 ]

juanroy in a recent update, we switched the Mapping SQL to MongoDB examples to a new set, so this has now been resolved. Thanks!

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