The IDBCursor interface of the IndexedDB API represents a cursor traversing or iterating over multiple records in a database.
The IDBCursor interface of the IndexedDB API represents a cursor traversing or iterating over multiple records in a database.
(advance this count)
Method.
The advance() method of the idb.IDBCursor
interface sets the
of times a cursor should move its position forward.
cursor.advance(count);
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/advance
Method. The advance() method of the `idb.IDBCursor` interface sets the of times a cursor should move its position forward. `cursor.advance(count);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/advance`
(continue this key)
Method.
The continue() method of the idb.IDBCursor
interface advances
cursor to the next position along its direction, to the item
key matches the optional key parameter. If no key is specified,
cursor advances to the immediate next position, based on its
cursor.continue(key);
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue
Method. The continue() method of the `idb.IDBCursor` interface advances cursor to the next position along its direction, to the item key matches the optional key parameter. If no key is specified, cursor advances to the immediate next position, based on its `cursor.continue(key);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue`
(continue-primary-key this key primary-key)
Method.
The continuePrimaryKey() method of the idb.IDBCursor
interface
the cursor to the to the item whose key matches the key parameter
well as whose primary key matches the primary key parameter.
cursor.continuePrimaryKey(key, primaryKey);
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey
Method. The continuePrimaryKey() method of the `idb.IDBCursor` interface the cursor to the to the item whose key matches the key parameter well as whose primary key matches the primary key parameter. `cursor.continuePrimaryKey(key, primaryKey);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey`
(delete this)
Method.
The delete() method of the idb.IDBCursor
interface returns
idb.IDBRequest
object, and, in a separate thread, deletes the
at the cursor's position, without changing the cursor's position.
the record is deleted, the cursor's value is set to null.
myIDBCursor.delete();
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/delete
Method. The delete() method of the `idb.IDBCursor` interface returns `idb.IDBRequest` object, and, in a separate thread, deletes the at the cursor's position, without changing the cursor's position. the record is deleted, the cursor's value is set to null. `myIDBCursor.delete();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/delete`
(direction this)
Property.
A string (defined by the IDBCursorDirection enum) indicating direction in which the cursor is traversing the data. Possible are:
var direction = cursor.direction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction
Property. A string (defined by the IDBCursorDirection enum) indicating direction in which the cursor is traversing the data. Possible are: `var direction = cursor.direction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction`
(key this)
Property.
A value of any type.
var key = cursor.key;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key
Property. A value of any type. `var key = cursor.key;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key`
(primary-key this)
Property.
A value of any data type.
var value = cursor.primaryKey;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey
Property. A value of any data type. `var value = cursor.primaryKey;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey`
(request this)
Property.
The request read-only property of the idb.IDBCursor
interface
the request if the cursor.
var request = cursor.request;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request
Property. The request read-only property of the `idb.IDBCursor` interface the request if the cursor. `var request = cursor.request;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request`
(set-direction! this val)
Property.
A string (defined by the IDBCursorDirection enum) indicating direction in which the cursor is traversing the data. Possible are:
var direction = cursor.direction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction
Property. A string (defined by the IDBCursorDirection enum) indicating direction in which the cursor is traversing the data. Possible are: `var direction = cursor.direction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction`
(set-key! this val)
Property.
A value of any type.
var key = cursor.key;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key
Property. A value of any type. `var key = cursor.key;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key`
(set-primary-key! this val)
Property.
A value of any data type.
var value = cursor.primaryKey;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey
Property. A value of any data type. `var value = cursor.primaryKey;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey`
(set-request! this val)
Property.
The request read-only property of the idb.IDBCursor
interface
the request if the cursor.
var request = cursor.request;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request
Property. The request read-only property of the `idb.IDBCursor` interface the request if the cursor. `var request = cursor.request;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request`
(set-source! this val)
Property.
The idb.IDBObjectStore
or idb.IDBIndex
that the cursor is
over.
var source = cursor.source;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source
Property. The `idb.IDBObjectStore` or `idb.IDBIndex` that the cursor is over. `var source = cursor.source;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source`
(source this)
Property.
The idb.IDBObjectStore
or idb.IDBIndex
that the cursor is
over.
var source = cursor.source;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source
Property. The `idb.IDBObjectStore` or `idb.IDBIndex` that the cursor is over. `var source = cursor.source;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source`
(update this value)
Method.
The update() method of the idb.IDBCursor
interface returns
idb.IDBRequest
object, and, in a separate thread, updates the
at the current position of the cursor in the object store. If
cursor points to a record that has just been deleted, a new record
created.
var anIDBRequest = myIDBCursor.update(value);
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/update
Method. The update() method of the `idb.IDBCursor` interface returns `idb.IDBRequest` object, and, in a separate thread, updates the at the current position of the cursor in the object store. If cursor points to a record that has just been deleted, a new record created. `var anIDBRequest = myIDBCursor.update(value);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/update`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close