fun geo2dsphere(vararg properties: KProperty<*>): Bson
(source)fun geo2dsphere(properties: Iterable<KProperty<*>>): Bson
(source)
Create an index key for an 2dsphere index on the given fields.
properties
- the properties, which must contain at least one
Return
the index specification
Mongodb
.driver.manual core/2dsphere 2dsphere Index