Liking cljdoc? Tell your friends :D

trident.datomic-cloud


add-retractclj

(add-retract db eid & kvs)
source

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

pull-attrclj

(pull-attr db attr lookup)
source

pull-idclj

(pull-id db 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

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

× close