Removable PostgreSQL UNIQUE INDEX enforcement over durable descriptors.
Removable PostgreSQL UNIQUE INDEX enforcement over durable descriptors.
(canonical-key-value value)Return a hashable value whose equality matches PostgreSQL UNIQUE-key equality for the value carriers used by pg-datahike.
Datahike's array wrapper supplies content equality for primitive/object arrays. Scalar float NaNs need an additional sentinel: PostgreSQL's float4 and float8 btree operators consider all NaNs equal, while Clojure map/set equality considers a JVM NaN unequal even to itself.
Return a hashable value whose equality matches PostgreSQL UNIQUE-key equality for the value carriers used by pg-datahike. Datahike's array wrapper supplies content equality for primitive/object arrays. Scalar float NaNs need an additional sentinel: PostgreSQL's float4 and float8 btree operators consider all NaNs equal, while Clojure map/set equality considers a JVM NaN unequal even to itself.
(conflicting-eid db table attrs values)Find an existing row of table with all attrs equal to values.
Descendant rows are excluded so inheritance does not merge physical index
domains that PostgreSQL keeps separate.
Find an existing row of `table` with all `attrs` equal to `values`. Descendant rows are excluded so inheritance does not merge physical index domains that PostgreSQL keeps separate.
(validate-report! {:keys [db-before db-after] :as report})Writer-side invariant gate over a fully resolved Datahike tx report.
Writer-side invariant gate over a fully resolved Datahike tx report.
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 |