Liking cljdoc? Tell your friends :D

meeseeks-db.core


attrclj

(attr key value)
source

ClientConfigclj

sourceraw docstring

Connectionclj

Carmine connection spec

Carmine connection spec
sourceraw docstring

create-custom-attributeclj

(create-custom-attribute {:keys [db] :as client} attribute-name ids)
source

default-id->connclj

(default-id->conn db id)
source

default-id->iidclj

(default-id->iid conn id)
(default-id->iid conn id delete?)
source

default-iid->idclj

(default-iid->id iid)
source

delete-custom-attributeclj

(delete-custom-attribute {:keys [db]} attribute-name)
source

fetchclj

(fetch {:keys [data-db f-id->conn]} id & [fields])

Fetch object by ID

Fetch object by ID
sourceraw docstring

fix-custom-keysclj

(fix-custom-keys query mangle-map)
source

fix-custom-keys*clj

(fix-custom-keys* query mangle-map)
source

index!clj

(index! {:keys [db data-db f-id->iid f-index f-id->conn]} {:keys [id] :as obj})

Index and store an object.

Index and store an object.
sourceraw docstring

initclj

(init dbs
      {:keys [f-index data-db f-id->iid f-iid->id f-id->conn]
       :or {f-id->iid default-id->iid
            f-iid->id default-iid->id
            f-id->conn default-id->conn}})

Inputs: [dbs :- (deref-of [Connection]) {:keys [f-index data-db f-id->iid f-iid->id f-id->conn], :or {f-id->iid default-id->iid, f-iid->id default-iid->id, f-id->conn default-id->conn}} :- ClientConfig]

Inputs: [dbs :- (deref-of [Connection]) {:keys [f-index data-db f-id->iid f-iid->id f-id->conn], :or {f-id->iid default-id->iid, f-iid->id default-iid->id, f-id->conn default-id->conn}} :- ClientConfig]
sourceraw docstring

memory-statusclj

(memory-status {:keys [db data-db]})
source

queryclj

(query client
       &
       [query :- (s/maybe QueryExpression) sample-size :- (s/maybe s/Int) fields
        :- [Key] custom-attributes :- {s/Keyword [s/Str]}])

Inputs: [client & [query :- (s/maybe QueryExpression) sample-size :- (s/maybe s/Int) fields :- [Key] custom-attributes :- #:s{Keyword [s/Str]}]] Returns: {:size s/Int, :sample [{Key s/Any}]}

Inputs: [client & [query :- (s/maybe QueryExpression) sample-size :- (s/maybe s/Int) fields :- [Key] custom-attributes :- #:s{Keyword [s/Str]}]]
Returns: {:size s/Int, :sample [{Key s/Any}]}
sourceraw docstring

remove-all!clj

(remove-all! {:keys [db data-db]})
source

scan-indicesclj

(scan-indices {:keys [db]} pattern f)
source

unindex!clj

(unindex! {:keys [db data-db f-id->iid f-index f-id->conn]} id)

Remove the object and its indices.

Remove the object and its indices.
sourceraw docstring

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

× close