IDBObjectStore

external interface IDBObjectStore : IDBQueryable

https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun add(value: dynamic): IDBRequest<dynamic>
abstract fun add(value: dynamic, key: dynamic): IDBRequest<dynamic>
Link copied to clipboard
abstract fun clear(): IDBRequest<dynamic>
Link copied to clipboard
abstract fun count(): IDBRequest<Int>
abstract fun count(key: dynamic): IDBRequest<Int>
Link copied to clipboard
abstract fun createIndex(name: String, keyPath: dynamic, parameters: dynamic): IDBIndex
Link copied to clipboard
abstract fun delete(key: dynamic): IDBRequest<dynamic>
Link copied to clipboard
abstract fun deleteIndex(name: String)
Link copied to clipboard
abstract fun get(key: dynamic): IDBRequest<Int>
Link copied to clipboard
abstract fun getAll(): IDBRequest<dynamic>
abstract fun getAll(query: dynamic): IDBRequest<dynamic>
abstract fun getAll(query: dynamic, count: Int): IDBRequest<dynamic>
Link copied to clipboard
abstract fun getAllKeys(): IDBRequest<dynamic>
abstract fun getAllKeys(query: dynamic): IDBRequest<dynamic>
abstract fun getAllKeys(query: dynamic, count: Int): IDBRequest<dynamic>
Link copied to clipboard
abstract fun getKey(key: dynamic): IDBRequest<dynamic>
Link copied to clipboard
abstract fun index(name: String): IDBIndex
Link copied to clipboard
abstract fun openCursor(query: dynamic): IDBRequest<IDBCursorWithValue?>
abstract fun openCursor(query: dynamic, direction: String): IDBRequest<IDBCursorWithValue?>
Link copied to clipboard
abstract fun openKeyCursor(query: dynamic): IDBRequest<IDBCursor?>
abstract fun openKeyCursor(query: dynamic, direction: String): IDBRequest<IDBCursor?>
Link copied to clipboard
abstract fun put(item: dynamic): IDBRequest<dynamic>
abstract fun put(item: dynamic, key: dynamic): IDBRequest<dynamic>