Google News
logo
MongoDB - Quiz(MCQ)
When used with the _____ operator, $geoWithin returns documents based on grid coordinates and does not query for GeoJSON shapes.
A)
$box
B)
$circle
C)
$shape
D)
All of the above

Correct Answer :   $box


Explanation : $box specifies a rectangle for a geospatial $geoWithin query to return documents that are within the bounds of the rectangle, according to their point-based location data.

Advertisement