kmongo / org.litote.kmongo / descendingIndex

descendingIndex

fun descendingIndex(vararg properties: KProperty<*>): Bson (source)
fun descendingIndex(properties: Iterable<KProperty<*>>): Bson (source)

Create an index key for a descending index on the given fields.

Parameters

properties - the properties, which must contain at least one

Return
the index specification

Mongodb
.driver.manual core/indexes indexes