[DOCS-1160] GeoIntersects example is incorrect Created: 25/Feb/13  Updated: 26/Feb/13  Resolved: 26/Feb/13

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

Type: Bug Priority: Major - P3
Reporter: Aaron Heckmann Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 51 weeks, 2 days ago

 Description   

http://docs.mongodb.org/manual/release-notes/2.4/#op._S_geoIntersects

The example is missing a field. Should probably be:

db.collection.find( { loc: { $geoIntersects: { $geometry: { "type": "Point", "coordinates": [ 40, 5 ] }}}} )



 Comments   
Comment by auto [ 26/Feb/13 ]

Author:

{u'date': u'2013-02-26T01:00:26Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1160: correcting example
Branch: master
https://github.com/mongodb/docs/commit/86cdcfe01e623b545f6d51d3a5b89f701bb577c3

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