Most of the protocols in this namespace map directly to native JS types for the IndexedDB API. Where possible, JS properties and methods are mapped to conventional Clojure names (i.e kebab case vs camel case).
This library adds a handful of protocols, such as HasErrors, EventTarget, and the BelongsToX protocols to address cross cutting concerns present in the native JS API.
Most of the protocols in this namespace map directly to native JS types for the IndexedDB API. Where possible, JS properties and methods are mapped to conventional Clojure names (i.e kebab case vs camel case). This library adds a handful of protocols, such as HasErrors, EventTarget, and the BelongsToX protocols to address cross cutting concerns present in the native JS API.
(advance self count)
(continue self k)
(continue-primary-key self k primary-key)
(delete self)
(direction self)
(key self)
(primary-key self)
(update self value)
(close self)
(create-object-store self name options)
(delete-object-store self name)
(object-store-names self)
(transaction self store-names mode options)
(version self)
(cmp self a b)
(databases self fn-1)
(delete-database self name)
(open self name)
(open self name version)
(auto-locale? self)
(locale self)
(multi-entry? self)
(unique? self)
(idb-key-range _)
(includes _ k)
(lower _)
(lower-open? _)
(upper _)
(upper-open? _)
(put self item key)
(add self value key)
(clear self)
(index self index-name)
(delete-item self k)
(index-names self)
(delete-index self index-name)
(create-index self index-name key-path object-parameters)
(auto-increment? self)
(abort self)
(commit self)
(durability self)
(mode self)
(object-store self name)
(new-version self)
(old-version self)
(count self query)
(get self key)
(get-all self query count)
(get-all-keys self query count)
(get-key self key)
(key-path self)
(open-cursor self query direction)
(open-key-cursor self query direction)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close