Liking cljdoc? Tell your friends :D

trident.datomic-cloud


init-connclj

(init-conn config)
(init-conn client config)

Initializes and returns Datomic cloud connection.

config is a map with the following keys:

Initializes and returns Datomic cloud connection.

`config` is a map with the following keys:
 - `:db-name`: the name of a database that will be created
 - `:schema`: the datomic schema in compact format. See
   [[trident.util.datomic/datomic-schema]].
 - `:local-tx-fns?`: if true, transaction functions will be evaluated locally.
   See [[trident.util.datomic/eval-tx-fns]]
 - `:client-cfg`: if `client` is omitted, this will be used to create one.
sourceraw docstring

many-opclj

(many-op op id k v many?)
source

pull-attrclj

(pull-attr db attr lookup)
source

pull-idclj

(pull-id db lookup)
source

pull-inclj

(pull-in db [lookup & path])
(pull-in db path lookup)
source

pull-manyclj

(pull-many db pull-expr eids)
(pull-many db pull-expr map-from-key eids)

Ordering is not preserved. If map-from-key is provided, returns a map. See trident.util/map-from. nil keys are dissoc-ed.

Ordering is not preserved. If `map-from-key` is provided, returns a map. See
[[trident.util/map-from]]. nil keys are `dissoc`-ed.
sourceraw docstring

q-withclj

(q-with q replacements & args)
source

txclj

(tx db m lookup)

Convert m to a Datomic transaction

Convert m to a Datomic transaction
sourceraw docstring

tx*clj

(tx* db new-ent old-ent)
source

upsert-componentclj

(upsert-component db lookup attr m)
source

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

× close