Liking cljdoc? Tell your friends :D

wagoe.platform.core.database.constraint

Which integrity constraint a database refused a write on, read from what the driver reports: SQLState, vendor code and message. H2, PostgreSQL, SQLite and MySQL.

Which integrity constraint a database refused a write on, read from what the
driver reports: SQLState, vendor code and message. H2, PostgreSQL, SQLite
and MySQL.
raw docstring

already-exists?clj

(already-exists? {:keys [sql-state error-code message]})

Whether the driver reports that the index, column or constraint a statement adds is already there (BOU-607, BOU-632).

Whether the driver reports that the index, column or constraint a statement
adds is already there (BOU-607, BOU-632).
sourceraw docstring

already-gone?clj

(already-gone? {:keys [error-code message]})

Whether the driver reports that the index or column a statement drops is not there (BOU-607).

Whether the driver reports that the index or column a statement drops is not
there (BOU-607).
sourceraw docstring

statement-tableclj

(statement-table sql)

The table an INSERT, UPDATE or DELETE in sql writes, lower case, or nil.

The table an INSERT, UPDATE or DELETE in `sql` writes, lower case, or nil.
sourceraw docstring

violationclj

(violation {:keys [authored?] :as reported})

{:kind :unique|:foreign-key|:check :field kw} for a unique, foreign-key or CHECK violation, :field when the driver names one column, :fields when it names several, and :referenced? true when the refused row is one another still references; nil for any other failure.

`{:kind :unique|:foreign-key|:check :field kw}` for a unique, foreign-key
or CHECK violation, `:field` when the driver names one column, `:fields`
when it names several, and `:referenced? true` when the refused row is one
another still references; nil for any other failure.
sourceraw docstring

with-columnsclj

(with-columns v columns)

v naming the key's columns: :field for one, :fields for several (BOU-712). Unchanged when any of them is not a plain identifier.

`v` naming the key's `columns`: `:field` for one, `:fields` for several
(BOU-712). Unchanged when any of them is not a plain identifier.
sourceraw 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