cmp.lt-mem

all-tasks

(all-tasks)

Returns all tasks.

TODO: view names dbmp and tasks –> conf

conn

exist?

(exist? id)

Returns true if a document with the id exists.

TODO: HEAD request not entire doc

Example:

(exist? "foo-bar")
;; =>
;; false

get-doc

(get-doc id)

Gets a document from the long term memory.

put-doc

(put-doc doc)

Puts a document to the long term memory.

rev-refresh

(rev-refresh doc)

Refreshs the revision _rev of the document if it exist.