Storage backend protocol. Keys are {:realm :type :id} maps. In cljs every method returns a Promise of the documented value.
Storage backend protocol. Keys are {:realm :type :id} maps.
In cljs every method returns a Promise of the documented value.(get* store k)Return {:key :obj :meta} for k, or nil.
Return {:key :obj :meta} for k, or nil.
(search* store query opts)Return entries (plus :rank, :snippet) whose text matches query, best first. opts: :type, :realm, :limit, :raw?.
Return entries (plus :rank, :snippet) whose text matches query, best first. opts: :type, :realm, :limit, :raw?.
(types* store realm)Return {type count} for all stored types, optionally limited to realm.
Return {type count} for all stored types, optionally limited to realm.
(delete* store k)Delete k and its history. Returns true if something was deleted.
Delete k and its history. Returns true if something was deleted.
(referrers* store uri opts)Return entries (plus :attr) whose attributes hold uri. opts: :attr, :type.
Return entries (plus :attr) whose attributes hold uri. opts: :attr, :type.
(put-many* store entries)Put a seq of [k obj opts] in one transaction.
Put a seq of [k obj opts] in one transaction.
(history* store k)Return revisions of k, newest first, as {:key :obj :meta}.
Return revisions of k, newest first, as {:key :obj :meta}.
(put* store k obj opts)Upsert obj at key k. opts: {:mode :mutable|:append-only}. Returns the entry.
Upsert obj at key k. opts: {:mode :mutable|:append-only}. Returns the entry.
(find* store type {:keys [realm since until attrs limit]})(find* store type G__5706)Return seq of {:key :obj :meta} of type, newest first.
Return seq of {:key :obj :meta} of type, newest first.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |