Liking cljdoc? Tell your friends :D

datomic-helper.schema-transform


assoc-when-element-predicate-of-configclj

(assoc-when-element-predicate-of-config map-to-assoc
                                        configs
                                        config-element
                                        predicate?
                                        key
                                        value)
source

extract-keyclj

(extract-key key)
source

extract-key-extra-props-from-configsclj

(extract-key-extra-props-from-configs key configs)
source

has-element-by-keyword?clj

(has-element-by-keyword? el map keyword)
source

is-component?clj

(is-component? key configs)
source

is-historyless?clj

(is-historyless? key configs)
source

is-indexed?clj

(is-indexed? key configs)
source

keyvalue-to-defclj

(keyvalue-to-def key value configs)
source

map-schema-to-datomicclj

(map-schema-to-datomic [key value])
source

props-from-valueclj

(props-from-value value)
source

schema-to-datomicclj

(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
sourceraw docstring

schemas-to-datomicclj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close