(init-conn config)
(init-conn client config)
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.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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close