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.
(conflict-lookup db table)(conflict-lookup db table descriptor)Return a key lookup for one physical table on this immutable database. Prefer a point lookup when any key component has zero or one AVET hit. For shared or unindexed values, build a composite-key map over the matching rows once. A new execution or writer basis gets a fresh lookup.
Return a key lookup for one physical table on this immutable database. Prefer a point lookup when any key component has zero or one AVET hit. For shared or unindexed values, build a composite-key map over the matching rows once. A new execution or writer basis gets a fresh lookup.
(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 |