kmongo / org.litote.kmongo / kotlin.reflect.KProperty / hashedIndex

hashedIndex

fun <T> KProperty<T>.hashedIndex(): Bson (source)

Create an index key for a hashed index on the given property.

Return
the index specification

Mongodb
.driver.manual core/hashed hashed index