Liking cljdoc? Tell your friends :D

Reference

Table of Contents

Base

(base/base deta-key basename)
  • Return: Database connection object.
  • Exceptions: If deta-key is invalid or not provided.

Put

(base/put db data)
(base/put db data key)
  • Return: Map containing the inserted data and the generated key (if not provided).
  • Exceptions: If data type is not supported, or if deta-key is invalid or not provided.

Get

(base/get db key)
  • Return: Retrieved data as a map if the key exists, or nil if the key does not exist or an error occurs.
  • Exceptions: If key is not provided or is empty.

Can you improve this documentation?Edit on GitHub

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

× close