Liking cljdoc? Tell your friends :D

indexed.db.impl.protocols

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.
raw docstring

BelongsToDatabasecljsprotocol

idb-databasecljs

(idb-database self)
source

BelongsToObjectStorecljsprotocol

idb-object-storecljs

(idb-object-store self)
source

BelongsToRequestcljsprotocol

idb-requestcljs

(idb-request self)
source

BelongsToSourcecljsprotocol

sourcecljs

(source self)
source

BelongsToTransactioncljsprotocol

idb-transactioncljs

(idb-transaction self)
source

EventTargetcljsprotocol

targetcljs

(target self)
source

HasErrorscljsprotocol

errorcljs

(error self)
source

IDBCursorcljsprotocol

advancecljs

(advance self count)

continuecljs

(continue self k)

continue-primary-keycljs

(continue-primary-key self k primary-key)

deletecljs

(delete self)

directioncljs

(direction self)

keycljs

(key self)

primary-keycljs

(primary-key self)

updatecljs

(update self value)
source

IDBCursorWithValuecljsprotocol

valuecljs

(value self)
source

IDBDatabasecljsprotocol

closecljs

(close self)

create-object-storecljs

(create-object-store self name options)

delete-object-storecljs

(delete-object-store self name)

object-store-namescljs

(object-store-names self)

transactioncljs

(transaction self store-names mode options)

versioncljs

(version self)
source

IDBFactorycljsprotocol

cmpcljs

(cmp self a b)

databasescljs

(databases self fn-1)

delete-databasecljs

(delete-database self name)

opencljs

(open self name)
(open self name version)
source

IDBIndexcljsprotocol

auto-locale?cljs

(auto-locale? self)

localecljs

(locale self)

multi-entry?cljs

(multi-entry? self)

unique?cljs

(unique? self)
source

IDBKeyRangecljsprotocol

idb-key-rangecljs

(idb-key-range _)

includescljs

(includes _ k)

lowercljs

(lower _)

lower-open?cljs

(lower-open? _)

uppercljs

(upper _)

upper-open?cljs

(upper-open? _)
source

IDBObjectStorecljsprotocol

putcljs

(put self item key)

addcljs

(add self value key)

clearcljs

(clear self)

indexcljs

(index self index-name)

delete-itemcljs

(delete-item self k)

index-namescljs

(index-names self)

delete-indexcljs

(delete-index self index-name)

create-indexcljs

(create-index self index-name key-path object-parameters)

auto-increment?cljs

(auto-increment? self)
source

IDBRequestcljsprotocol

ready-statecljs

(ready-state self)

resultcljs

(result self)
source

IDBTransactioncljsprotocol

abortcljs

(abort self)

commitcljs

(commit self)

durabilitycljs

(durability self)

modecljs

(mode self)

object-storecljs

(object-store self name)
source

IDBVersionChangeEventcljsprotocol

new-versioncljs

(new-version self)

old-versioncljs

(old-version self)
source

ReadableObjectStorecljsprotocol

countcljs

(count self query)

getcljs

(get self key)

get-allcljs

(get-all self query count)

get-all-keyscljs

(get-all-keys self query count)

get-keycljs

(get-key self key)

key-pathcljs

(key-path self)

open-cursorcljs

(open-cursor self query direction)

open-key-cursorcljs

(open-key-cursor self query direction)
source

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

× close