1.

When used with the $box operator, _________ returns documents based on grid coordinates and does not query for GeoJSON shapes.(a) $geoNear(b) $geoWithin(c) $geoRear(d) All of the mentionedThe question was posed to me by my college director while I was bunking the class.The doubt is from Indexing Methods topic in portion Index/Indexing Concepts of MongoDB

Answer»

The correct CHOICE is (B) $geoWithin

The EXPLANATION is: To use the $box operator, you must specify the bottom left and TOP right corners of the rectangle in an ARRAY object.



Discussion

No Comment Found

Related InterviewSolutions