Liking cljdoc? Tell your friends :D

datomic-helper.schema-transform


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. 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.
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