createIndex

expect fun createIndex(name: String, config: IndexConfiguration)(source)

Add an index to the collection.

Parameters

name

index name

config

index configuration

Throws


expect fun createIndex(name: String, index: Index)(source)

Add an index to the collection.

Parameters

name

index name

index

index configuration

Throws

actual fun createIndex(name: String, config: IndexConfiguration)(source)
actual fun createIndex(name: String, index: Index)(source)
actual fun createIndex(name: String, config: IndexConfiguration)(source)
actual fun createIndex(name: String, index: Index)(source)