Module Table.Unique_key

Unique keys.

Unique keys represent SQL UNIQUE constraints on a table.

type 'r t = 'r unique_key

The type for unique keys.

val v : 'r Col.v list -> 'r unique_key

v cs is a unique key with columns cs.

val cols : 'r unique_key -> 'r Col.v list

cols u are the columns of the unique key u.