On this page
Geospatial Commands
Note
For details on specific commands, including syntax and examples, click on the specific command to go to its reference page.
Name | Description |
---|---|
geoNear |
Performs a geospatial query that returns the documents closest to a given point. |
geoSearch |
Performs a geospatial query that uses MongoDB’s haystack index functionality. |