cbdrawer.view documentation

install-ddoc

(install-ddoc bases ddoc source)
Install a design document to a bucket, if it doesn't already exist, or if the current one
is not the same.

view-seq

(view-seq url {:keys [startkey endkey], :as params})
Return a lazy sequence of items from the view at url, taking view parameters as a map.
If startkey or endkey are passed they will be JSON encoded.

view-url

(view-url bases ddoc viewname)
Get the a URL for use with view-seq. bases is the Couch API bases list from cbdrawer.client/capi-bases