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.
(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).
(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).
(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.
(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.(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.
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 |