Liking cljdoc? Tell your friends :D

datahike.pg.constraints.row

Shared PostgreSQL row preparation and immediate constraint phases.

prepare-candidate materializes INSERT defaults and enforces NOT NULL. validate-pre-arbiter! adds CHECK/domain validation before ON CONFLICT arbitration. validate-mutation! validates an actual INSERT/UPDATE result and therefore also enforces foreign keys. Keeping those phases distinct mirrors PostgreSQL's ExecInsert/ExecOnConflictUpdate ordering.

Shared PostgreSQL row preparation and immediate constraint phases.

`prepare-candidate` materializes INSERT defaults and enforces NOT NULL.
`validate-pre-arbiter!` adds CHECK/domain validation before ON CONFLICT
arbitration. `validate-mutation!` validates an actual INSERT/UPDATE result
and therefore also enforces foreign keys.  Keeping those phases distinct
mirrors PostgreSQL's ExecInsert/ExecOnConflictUpdate ordering.
raw docstring

datahike.pg.constraints.unique

Removable PostgreSQL UNIQUE INDEX enforcement over durable descriptors.

Removable PostgreSQL UNIQUE INDEX enforcement over durable descriptors.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close