(begin-txn & opts-args)
(clear-shelf & opts-args)
Deletes all contents of the shelf, but does not delete the shelf itself or any of its indices.
Deletes all contents of the shelf, but does not delete the shelf itself or any of its indices.
(close-cupboard cb)
(close-cupboard!)
Like close-cupboard, but always closes the global cupboard.
Like close-cupboard, but always closes the global *cupboard*.
(commit & args)
(defpersist name slots & opts-args)
(delete obj & opts-args)
(list-shelves & opts-args)
(modify-env & opts-args)
Wrapper for tuning cupboard database environments.
Wrapper for tuning cupboard database environments.
(open-cupboard cb-dir-arg & opts-args)
(open-cupboard! & args)
Like open-cupboard, but always opens the global cupboard.
Like open-cupboard, but always opens the global *cupboard*.
(passoc! obj & args)
Just like clojure.core/assoc, but works on objects defined with defpersist and created with make-instance. Automatically saves modifications. Two forms: (passoc! obj new-key new-value & options) (passoc! obj [k1 v1 k2 v2 ...] & options)
Just like clojure.core/assoc, but works on objects defined with defpersist and created with make-instance. Automatically saves modifications. Two forms: (passoc! obj new-key new-value & options) (passoc! obj [k1 v1 k2 v2 ...] & options)
(pdissoc! obj & args)
Just like clojure.core/dissoc, but works on objects defined with defpersist and created with make-instance. Automatically saves modifications. Two forms: (pdissoc! obj key & options) (pdissoc! obj [k1 k2 ...] & options)
Just like clojure.core/dissoc, but works on objects defined with defpersist and created with make-instance. Automatically saves modifications. Two forms: (pdissoc! obj key & options) (pdissoc! obj [k1 k2 ...] & options)
(query & args)
(query-natural-join clauses cb shelf-name txn lock-mode struct-type)
(query-pkey cb shelf-name txn lock-mode struct-type)
(query-range-join clauses cb shelf-name txn lock-mode struct-type)
(remove-shelf shelf-name & opts-args)
(retrieve index-slot indexed-value & opts-args)
(rollback & args)
(save obj & opts-args)
(shelf-count & opts-args)
(verify & opts-args)
Very expensive operation. Runs verify on the cupboard environment, every shelf, and every index.
Very expensive operation. Runs verify on the cupboard environment, every shelf, and every index.
(verify-cupboard-env & opts-args)
(verify-shelf & opts-args)
(with-open-cupboard [& args] & body)
(with-txn [& args] & body)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close