(advance-max-eid db eid)
(apply-db-op db report op-vec)
(assert-preds db [_ e _ preds])
(check-schema-update db entity new-eid)
(check-tuple db op-vec)
(compare-and-swap db report op-vec)
(entity-map->op-vec db {:keys [tempids] :as report} entity)
(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]]
(flush-tx-meta {:keys [tx-meta db-before] :as report})
Generates add-operations for transaction meta data.
Generates add-operations for transaction meta data.
(next-eid db)
(remove-schema db datom)
(retract-entity db report op-vec)
(transact-entities-directly initial-report initial-es)
(transact-tx-data {:keys [db-before] :as initial-report} initial-es)
(update-rschema db)
(update-schema db datom)
(validate-datom db datom)
(validate-datom-upsert db datom)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close