Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MongoDB proximity query using legacy coordinate pairs
db.places.find( { loc :
{ $near : [ 100 , 100 ],
$maxDistance: 10 }
} )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.