IndexBuilder

expect object IndexBuilder(source)

IndexBuilder used for building database index objects. Use Database.createIndex(IndexConfiguration, String)

actual object IndexBuilder(source)
actual object IndexBuilder(source)

Functions

Link copied to clipboard
expect fun fullTextIndex(vararg items: FullTextIndexItem): FullTextIndex

Create a full-text search index with the given index item and options. Typically, the index item is the property that is used to perform the match operation against with.

actual fun fullTextIndex(vararg items: FullTextIndexItem): FullTextIndex
actual fun fullTextIndex(vararg items: FullTextIndexItem): FullTextIndex
Link copied to clipboard
expect fun valueIndex(vararg items: ValueIndexItem): ValueIndex

Create a value index with the given index items. The index items are a list of the properties or expressions to be indexed.

actual fun valueIndex(vararg items: ValueIndexItem): ValueIndex
actual fun valueIndex(vararg items: ValueIndexItem): ValueIndex