Liking cljdoc? Tell your friends :D
Clojure only.

trident.datomic-cloud.client

An alternate Datomic Cloud client implementation.

An alternate Datomic Cloud client implementation.
raw docstring

connectclj

(connect client {:keys [local-tx-fns?] :as config})

Returns a Datomic Cloud connection, optionally evaluating tx fns locally.

See trident.util.datomic/eval-tx-fns. This can be useful for development but shouldn't be used in production. If local-tx-fns? is true, all transactions must go through this connection; otherwise, transaction functions might be evaluated with an out-of-date db.

There is a small edge case where the very first transaction ran through this connection might get an old database. This could be eliminated by running an empty transaction right after connecting.

Returns a Datomic Cloud connection, optionally evaluating tx fns locally.

See [[trident.util.datomic/eval-tx-fns]]. This can be useful for development
but shouldn't be used in production. If `local-tx-fns?` is true, all
transactions must go through this connection; otherwise, transaction functions
might be evaluated with an out-of-date db.

There is a small edge case where the very first transaction ran through this
connection might get an old database. This could be eliminated by running an
empty transaction right after connecting.
sourceraw docstring

with-db-syncclj

(with-db-sync conn t)

Like with-db, but returns a db with at least time t

Like `with-db`, but returns a db with at least time `t`
sourceraw docstring

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

× close