1.

_________ specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.(a) $rect(b) $polygon(c) $poly(d) All of the mentionedThis question was posed to me in final exam.Asked question is from Indexing Methods in chapter Index/Indexing Concepts of MongoDB

Answer»

The correct answer is (B) $POLYGON

For explanation: To define the polygon, specify an array of coordinate POINTS.



Discussion

No Comment Found

Related InterviewSolutions