Created
September 9, 2020 14:17
-
-
Save aniruddha27/886bfa117cabf64872b4d27e7bd650f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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