(model-migration-tx-builder old-entities-by-name entities-by-name)For each entity a function that takes a datomic object as an argument and produces migration transatcion, eg. {:db/id 4 :NOUser/name "aa"} -> [[:db/add 4 :NOUser/address "7 Way Street"]]
The result takes a form:
{"NOUser" f1 "NOAddress" f2 ...}
For each entity a function that takes a datomic object as an argument and produces
migration transatcion, eg. {:db/id 4 :NOUser/name "aa"} -> [[:db/add 4 :NOUser/address "7 Way Street"]]
The result takes a form:
{"NOUser" f1
"NOAddress" f2 ...}
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 |