Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on MongoDB Interactive Geospatial Tutorial. Parent comment
the correct command is db.treasures.find({location: {$near: [0, 0]}, type: "gold"}).limit(5);
you have an extra { infront of "type"...making it invalid json.
There are no comments on this comment yet.
the correct command is db.treasures.find({location: {$near: [0, 0]}, type: "gold"}).limit(5);
you have an extra { infront of "type"...making it invalid json.