I am using Node.js and Mongoose to access my MongoDB. I am using a model that stores some geo coordinates. I have them indexed and everything seems to work as expected. What I a
I don't think Mongoose supports runCommand right now. You would be better off using the geospatial options using the find method e.g. >
runCommand
find
db.places.find( { location : { $near : [50,50] , $maxDistance : 300 } } )