# uniqueIndex

fun <T> Column<T>.uniqueIndex(customIndexName: String? = null): Column<T>

Creates a unique index composed by this column only.

#### Parameters

customIndexName

Name of the index.

fun uniqueIndex(vararg columns: Column<*>, filterCondition: FilterCondition = null)

Creates a unique index.

#### Parameters

columns

Columns that compose the index.

filterCondition

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

customIndexName

Name of the index.

columns

Columns that compose the index.

functions

Functions that compose the index.

filterCondition

Index filtering conditions (also known as "partial index") declaration.