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 web.storage.IDBCursor
interface
the number 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 `web.storage.IDBCursor` interface the number 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 web.storage.IDBCursor
interface
the 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 `web.storage.IDBCursor` interface the 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 web.storage.IDBCursor
advances the cursor to the to the item whose key matches the
parameter as well as whose primary key matches the primary key
cursor.continuePrimaryKey(key, primaryKey);
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey
Method. The continuePrimaryKey() method of the `web.storage.IDBCursor` advances the cursor to the to the item whose key matches the parameter as well as whose primary key matches the primary key `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 web.storage.IDBCursor
interface
an web.storage.IDBRequest
object, and, in a separate thread,
the record at the cursor's position, without changing the cursor's
Once 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 `web.storage.IDBCursor` interface an `web.storage.IDBRequest` object, and, in a separate thread, the record at the cursor's position, without changing the cursor's Once 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.
[Read Only]
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. [Read Only] 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.
[Read Only]
A value of any type.
var key = cursor.key;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key
Property. [Read Only] 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.
[Read Only]
A value of any data type.
var value = cursor.primaryKey;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey
Property. [Read Only] 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.
[Read Only]
The request read-only property of the web.storage.IDBCursor
returns the request if the cursor.
var request = cursor.request;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request
Property. [Read Only] The request read-only property of the `web.storage.IDBCursor` returns the request if the cursor. `var request = cursor.request;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request`
(source this)
Property.
[Read Only]
The web.idb.IDBObjectStore
or web.storage.IDBIndex
that the
is iterating over.
var source = cursor.source;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source
Property. [Read Only] The `web.idb.IDBObjectStore` or `web.storage.IDBIndex` that the is iterating 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 web.storage.IDBCursor
interface
an web.storage.IDBRequest
object, and, in a separate thread,
the value at the current position of the cursor in the object
If the cursor points to a record that has just been deleted,
new record is 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 `web.storage.IDBCursor` interface an `web.storage.IDBRequest` object, and, in a separate thread, the value at the current position of the cursor in the object If the cursor points to a record that has just been deleted, new record is 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