Liking cljdoc? Tell your friends :D

joplin.crux.database


close!clj

(close!)

Unfortunately, clients must be responsible for closing the Crux node if they want to use the same REPL with the same underlying disk stores (ex. RocksDB). This is because Joplin cannot close the Crux node after every operation or the in-memory Crux node won't work.

This method exists as a convenience and living documentation. Prefer (with-open (get-node conf)) wherever possible.

Unfortunately, clients must be responsible for closing
 the Crux node if they want to use the same REPL with
 the same underlying disk stores (ex. RocksDB). This is
 because Joplin cannot close the Crux node after every
 operation or the in-memory Crux node won't work.

This method exists as a convenience and living documentation.
Prefer `(with-open (get-node conf))` wherever possible.
sourceraw docstring

crux-nodeclj

source

CruxDatabaseclj

source

get-nodeclj

(get-node conf)

NOTE: with-open is not used within joplin.crux because it causes RocksDB errors on a shared node. However, it should be used everywhere else.

NOTE: `with-open` is not used within joplin.crux because it causes
RocksDB errors on a shared node. However, it should be used
everywhere else.
sourceraw docstring

node-open?clj

(node-open? node)
source

query-migration-idsclj

(query-migration-ids node)
source

transact!clj

(transact! node txns & [error-msg])
source

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

× close