[DOCS-903] Wrong shape used in example for $within operator Created: 18/Dec/12 Updated: 18/Dec/12 Resolved: 18/Dec/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Claus Hoefele | Assignee: | Ed Costello |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 11 years, 9 weeks, 1 day ago |
| Description |
|
http://docs.mongodb.org/manual/reference/operators/#_S_within In the above page, the description of the $within operator contains a mistake where it talks about polygon shapes. The example for polygons should be "db.collection.find( { location: { $within: { $polygon: [[100,120], [100,100], [120,100], [240,200]] }} } );" "$box" should be replaced by "$polygon". |
| Comments |
| Comment by auto [ 18/Dec/12 ] |
|
Author: {u'date': u'2012-12-18T17:25:29Z', u'name': u'Ed Costello', u'email': u'igotyouremailfromgithub@epcostello.com'}Message: |