Liking cljdoc? Tell your friends :D

datahike.db.transaction


advance-max-eidclj

(advance-max-eid db eid)
source

apply-db-opclj

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

assert-predsclj

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

builtin-op?clj

source

check-schema-updateclj

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

check-tupleclj

(check-tuple db op-vec)
source

compare-and-swapclj

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

entity-map->op-vecclj

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

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]]
sourceraw 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.
sourceraw docstring

next-eidclj

(next-eid db)
source

remove-schemaclj

(remove-schema db datom)
source

retract-entityclj

(retract-entity db report op-vec)
source

transact-entities-directlyclj

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

transact-tx-dataclj

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

update-rschemaclj

(update-rschema db)
source

update-schemaclj

(update-schema db datom)
source

validate-datomclj

(validate-datom db datom)
source

validate-datom-upsertclj

(validate-datom-upsert db datom)
source

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

× close