Liking cljdoc? Tell your friends :D

cupboard.core


*cupboard*clj


*default-shelf-name*clj


*shelves-db-name*clj


*txn*clj


begin-txnclj

(begin-txn & opts-args)

clear-shelfclj

(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.
raw docstring

close-cupboardclj

(close-cupboard cb)

close-cupboard!clj

(close-cupboard!)

Like close-cupboard, but always closes the global cupboard.

Like close-cupboard, but always closes the global *cupboard*.
raw docstring

commitclj

(commit & args)

cupboardclj


defpersistcljmacro

(defpersist name slots & opts-args)

deleteclj

(delete obj & opts-args)

list-shelvesclj

(list-shelves & opts-args)

make-instancecljmultimethod


modify-envclj

(modify-env & opts-args)

Wrapper for tuning cupboard database environments.

Wrapper for tuning cupboard database environments.
raw docstring

open-cupboardclj

(open-cupboard cb-dir-arg & opts-args)

open-cupboard!clj

(open-cupboard! & args)

Like open-cupboard, but always opens the global cupboard.

Like open-cupboard, but always opens the global *cupboard*.
raw docstring

passoc!clj

(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)
raw docstring

pdissoc!clj

(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)
raw docstring

persistence-metadataclj


querycljmacro

(query & args)

query-natural-joinclj

(query-natural-join clauses cb shelf-name txn lock-mode struct-type)

query-pkeyclj

(query-pkey cb shelf-name txn lock-mode struct-type)

query-range-joinclj

(query-range-join clauses cb shelf-name txn lock-mode struct-type)

remove-shelfclj

(remove-shelf shelf-name & opts-args)

retrieveclj

(retrieve index-slot indexed-value & opts-args)

rollbackclj

(rollback & args)

saveclj

(save obj & opts-args)

shelfclj


shelf-countclj

(shelf-count & opts-args)

verifyclj

(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.
raw docstring

verify-cupboard-envclj

(verify-cupboard-env & opts-args)

verify-shelfclj

(verify-shelf & opts-args)

with-open-cupboardcljmacro

(with-open-cupboard [& args] & body)

with-txncljmacro

(with-txn [& args] & body)

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

× close