(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 is a website building & hosting documentation for Clojure/Script libraries
× close