unique Index
Creates a unique index composed by this column only.
Parameters
custom Index Name
Name of the index.
Creates a unique index.
Parameters
columns
Columns that compose the index.
filter Condition
Index filtering conditions (also known as "partial index") declaration.
fun uniqueIndex(customIndexName: String? = null, vararg columns: Column<*>, functions: List<ExpressionWithColumnType<*>>? = null, filterCondition: FilterCondition = null)
Creates a unique index.
Parameters
custom Index Name
Name of the index.
columns
Columns that compose the index.
functions
Functions that compose the index.
filter Condition
Index filtering conditions (also known as "partial index") declaration.