Liking cljdoc? Tell your friends :D

idb.IDBCursor

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

advancecljs

(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`
sourceraw docstring

continuecljs

(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`
sourceraw docstring

continue-primary-keycljs

(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`
sourceraw docstring

deletecljs

(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`
sourceraw docstring

directioncljs

(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`
sourceraw docstring

keycljs

(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`
sourceraw docstring

primary-keycljs

(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`
sourceraw docstring

requestcljs

(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`
sourceraw docstring

set-direction!cljs

(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`
sourceraw docstring

set-key!cljs

(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`
sourceraw docstring

set-primary-key!cljs

(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`
sourceraw docstring

set-request!cljs

(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`
sourceraw docstring

set-source!cljs

(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`
sourceraw docstring

sourcecljs

(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`
sourceraw docstring

updatecljs

(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`
sourceraw docstring

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

× close