1.

The _________ operator specifies a circle for a $geoWithin query.(a) $within(b) $gwithin(c) $center(d) All of the mentionedThis question was posed to me in an interview for internship.My question is from Geospatial Index topic in chapter Index/Indexing Concepts of MongoDB

Answer»

The CORRECT option is (c) $center

To elaborate: The QUERY returns legacy coordinate PAIRS that are WITHIN the BOUNDS of the circle.



Discussion

No Comment Found

Related InterviewSolutions