hashed

fun <T> hashed(property: KProperty<T>): Bson

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

Return

the index specification @mongodb.driver.manual core/hashed hashed index

Parameters

property

the property to create a hashed index on