Navigation

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 Deprecated in MongoDB 4.0. 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.
←   mapReduce geoNear  →