(bulk-operations! {:keys [rest-client] :as client} & args)
Handles a given set of bulk operations that correspond to RavenDB batch req.
Wraps a clj-ravendb.rest client for the purposes of local caching.
Optionally takes a map of options. :request-builder is a custom request builder fn. :response-parser is a customer response parser fn.
Handles a given set of bulk operations that correspond to RavenDB batch req. Wraps a clj-ravendb.rest client for the purposes of local caching. Optionally takes a map of options. :request-builder is a custom request builder fn. :response-parser is a customer response parser fn.
(caching-client url database {:keys [caching] :as options})
Gets a client for a RavenDB endpoint at the given url and database.
Wraps a clj-ravendb.rest client for the purposes of local caching.
Operations not suitable for local caching. Like put-index!, query-index, watch-index and watch-documents dispatch directly to the underlying rest client.
Optionally takes a map of options. :replicated? is used to find replicated endpoints. :master-only-writes? is used to indicate that write operations only go to the master
Gets a client for a RavenDB endpoint at the given url and database. Wraps a clj-ravendb.rest client for the purposes of local caching. Operations not suitable for local caching. Like put-index!, query-index, watch-index and watch-documents dispatch directly to the underlying rest client. Optionally takes a map of options. :replicated? is used to find replicated endpoints. :master-only-writes? is used to indicate that write operations only go to the master
(load-documents {:keys [load-documents rest-client] :as client} & args)
Loads a collection of documents represented by the given document ids.
Wraps a clj-ravendb.rest client for the purposes of local caching.
Optionally takes a map of options. :request-builder is a custom request builder fn. :response-parser is a customer response parser fn.
Loads a collection of documents represented by the given document ids. Wraps a clj-ravendb.rest client for the purposes of local caching. Optionally takes a map of options. :request-builder is a custom request builder fn. :response-parser is a customer response parser fn.
(put-document! {:keys [put-document! rest-client] :as client} & args)
Creates or updates a document by its key. Where 'document' is a map.
Wraps a clj-ravendb.rest client for the purposes of local caching.
Optionally takes a map of options. :request-builder is a custom request builder fn. :response-parser is a customer response parser fn.
Creates or updates a document by its key. Where 'document' is a map. Wraps a clj-ravendb.rest client for the purposes of local caching. Optionally takes a map of options. :request-builder is a custom request builder fn. :response-parser is a customer response parser fn.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close