Liking cljdoc? Tell your friends :D

datahike.db.transaction


advance-max-eidclj

(advance-max-eid db eid)

apply-db-opclj

(apply-db-op db report op-vec)

assert-predsclj

(assert-preds db [_ e _ preds])

builtin-op?clj


check-schema-updateclj

(check-schema-update db entity new-eid)

check-tupleclj

(check-tuple db op-vec)

compare-and-swapclj

(compare-and-swap db report op-vec)

entity-map->op-vecclj

(entity-map->op-vec db {:keys [tempids] :as report} entity)

flush-tuplesclj

(flush-tuples report)

Generates all the add or retract operations needed for updating the states of composite tuples. E.g., if '::queued-tuples' contains {100 {:a+b+c [123 nil nil]}}, this function creates this vector [:db/add 100 :a+b+c [123 nil nil]]

Generates all the add or retract operations needed for updating the states of composite tuples.
E.g., if '::queued-tuples' contains {100 {:a+b+c [123 nil nil]}}, this function creates this vector [:db/add 100 :a+b+c [123 nil nil]]
raw docstring

flush-tx-metaclj

(flush-tx-meta {:keys [tx-meta db-before] :as report})

Generates add-operations for transaction meta data.

Generates add-operations for transaction meta data.
raw docstring

next-eidclj

(next-eid db)

remove-schemaclj

(remove-schema db datom)

retract-entityclj

(retract-entity db report op-vec)

transact-entities-directlyclj

(transact-entities-directly initial-report initial-es)

transact-tx-dataclj

(transact-tx-data {:keys [db-before] :as initial-report} initial-es)

update-rschemaclj

(update-rschema db)

update-schemaclj

(update-schema db datom)

validate-datomclj

(validate-datom db datom)

validate-datom-upsertclj

(validate-datom-upsert db datom)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close