kmongo / org.litote.kmongo / com.mongodb.client.model.IndexModel / IndexModel

IndexModel

fun IndexModel.IndexModel(keys: String, options: IndexOptions = IndexOptions()): IndexModel (source)

Construct an instance with the given keys and options.

Parameters

keys - the index keys

options - the index options