[DOCS-5734] Comment on: "manual/reference/mongodb-extended-json.txt" Created: 27/Jun/15  Updated: 30/Jun/15  Resolved: 30/Jun/15

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

Type: Bug Priority: Minor - P4
Reporter: Thomas Rueckstiess Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/mongodb-extended-json/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
Referrer: https://www.google.com.au/
Screen Resolution: 1440 x 900
repo: docs
source: reference/mongodb-extended-json


Participants:
Days since reply: 8 years, 33 weeks, 3 days ago

 Description   

The example for "Undefined" has a strange syntax with parenthesis instead of curly braces.

db.people.find( { age : ( $gte : undefined ) } )

Should probably be

db.people.find( { age : { $gte : undefined } } )

While it is a negative example (i.e. won't work either way), we should not make it more confusing by using invalid syntax.

More background to undefined in the shell: https://jira.mongodb.org/browse/SERVER-6102



 Comments   
Comment by Githook User [ 28/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5734 fix syntax typo for undefined
Branch: v2.6
https://github.com/mongodb/docs/commit/52330622c0b290d9b3531b50e3949d7dd7387932

Comment by Githook User [ 28/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5734 fix syntax typo for undefined
Branch: master
https://github.com/mongodb/docs/commit/ec7c26956613981e2632b9108f0677304b1d09c1

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