(assoc-when-element-predicate-of-config map-to-assoc
configs
config-element
predicate?
key
value)
(schema-to-datomic definition)
(schema-to-datomic definition configs)
converts {} schema to [{}...] datomic schema to be inserted into the database, the configs are optional, with optional keys, as following {:indexed [:ks...] :components [:ks...] :historyless [:ks...]} a key sent in the list of the configs will have in :indexed = db/indexed true in :components = db/isComponent true in :historyless = db/noHistory true
converts {} schema to [{}...] datomic schema to be inserted into the database, the configs are optional, with optional keys, as following {:indexed [:ks...] :components [:ks...] :historyless [:ks...]} a key sent in the list of the configs will have in :indexed = db/indexed true in :components = db/isComponent true in :historyless = db/noHistory true
(schemas-to-datomic definitions)
(schemas-to-datomic definitions configs)
converts a col of definitions into datomic schema
converts a col of definitions into datomic schema
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close