primaryKey

Tag a column as part of the primary key.

The primary key is used when generating keys for a type, and also for updating a record. sqlbuilder does not treat any fields by default as the primary key.

Meta