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.
Removable PostgreSQL UNIQUE INDEX enforcement over durable descriptors.
Removable PostgreSQL UNIQUE INDEX enforcement over durable descriptors.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |