Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Nearest locations
db.restaurants.find({'address.coord':
{'$near':[50,50],
'$minDistance':10,
'$maxDistance':100
}
}).count()
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.