Table.Index
Table index definitionss.
This module provides a type to describe table indices.
make cols ~name ~unique
is an index named name
on columns cols
. If name
is None
a name is derived at index creation time from the table and column names. If unique
is true
(defaults to false
) a UNIQUE
constraint is added.
val unique : 'r t -> bool
unique i
is true
if the values in index i
must be unique.
val name : 'r t -> string option
name i
is the name of i
(if any).