Module Table.Unique_key

Unique keys definitions.

Unique keys represent SQL UNIQUE constraints on a table.

type 'r t

The type for unique keys.

val make : 'r Col.def list -> 'r t

make cs is a unique key with columns cs.

val cols : 'r t -> 'r Col.def list

cols u are the columns of the unique key u.