createIndex

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

Add an index to the database.

Parameters

name

index name

index

index description

Throws


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

Add an index to the database.

Parameters

name

index name

config

index configuration

Throws

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