Defines concrete types for the fundamental Add and Retract transaction operations.
Defines concrete types for the fundamental Add and Retract transaction operations.
(->cmd construct-fn db cmd)Creates a validated add or retract command containing resolved e, a, v, and the corresponding attribute object
Creates a validated add or retract command containing resolved e, a, v, and the corresponding attribute object
(->valid-entity-id db e)We say the entity id e is valid if:
e is a tempide is resolvable as a db/ident or lookup referencee is in the allocated entity id rangeIf it is valid, will return either a tempid or the permanent long id
We say the entity id `e` is valid if: 1) `e` is a tempid 2) `e` is resolvable as a db/ident or lookup reference 3) `e` is in the allocated entity id range If it is valid, will return either a tempid or the permanent long id
(validate-command-syntax! [op e a v :as cmd])Throws an exception if validation fails.
Throws an exception if validation fails.
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 |