MCPcopy
hub / github.com/mongodb/node-mongodb-native / geoNear

Method geoNear

src/cursor/aggregation_cursor.ts:242–244  ·  view source on GitHub ↗

Add a geoNear stage to the aggregation pipeline

($geoNear: Document)

Source from the content-addressed store, hash-verified

240
241 /** Add a geoNear stage to the aggregation pipeline */
242 geoNear($geoNear: Document): this {
243 return this.addStage({ $geoNear });
244 }
245}

Callers 1

Calls 1

addStageMethod · 0.95

Tested by

no test coverage detected