hashedIndex

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

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

Return

the index specification