infix fun <T> KProperty<T>.geoWithin(geometry: Geometry): Bson
(source)infix fun <T> KProperty<T>.geoWithin(geometry: Bson): Bson
(source)
Creates a filter that matches all documents containing a property with geospatial data that exists entirely within the specified shape.
geometry
- the bounding GeoJSON geometry object
Return
the filter
Mongodb
.driver.manual reference/operator/query/geoWithin/ $geoWithin