IDBCursorWithValue

@native @JSGlobal @JSType
class IDBCursorWithValue[+S] extends IDBCursor[S]

Same as IDBCursor with the value property.

Type parameters:
S

The type of .source

class IDBCursor[S]
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

def advance(count: Double): Unit

This method may raise a DOMException of one of the following types:

This method may raise a DOMException of one of the following types:

Inherited from:
IDBCursorReadOnly
def continue(key: IDBKey): Unit

Sets cursor to key if specified, otherwise advances cursor by one.

Sets cursor to key if specified, otherwise advances cursor by one.

Note:

calling this method twice from the same onsuccess handler results in a InvalidStateError DOMException being thrown on the second call W3C

Inherited from:
IDBCursorReadOnly
def delete(): IDBRequest[S, Unit]

Returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position.

Returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position.

Inherited from:
IDBCursor

Is a DOMString that, on getting, returns the direction of traversal of the cursor. See Constants for possible values.

Is a DOMString that, on getting, returns the direction of traversal of the cursor. See Constants for possible values.

Inherited from:
IDBCursorReadOnly
def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def key: IDBKey

Returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to undefined. The cursor's key can be any data type.

Returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to undefined. The cursor's key can be any data type.

Inherited from:
IDBCursorReadOnly

Returns the cursor's current effective key. If the cursor is currently being iterated or has iterated outside its range, this is set to undefined. The cursor's primary key can be any data type.

Returns the cursor's current effective key. If the cursor is currently being iterated or has iterated outside its range, this is set to undefined. The cursor's primary key can be any data type.

Inherited from:
IDBCursorReadOnly
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def source: S

On getting, this object returns the IDBObjectStore or IDBIndex that the cursor is iterating. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.

On getting, this object returns the IDBObjectStore or IDBIndex that the cursor is iterating. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.

Inherited from:
IDBCursorReadOnly
def toLocaleString(): String
Inherited from:
Object
def update(value: IDBValue): IDBRequest[S, IDBKey]

Returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.

Returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.

Inherited from:
IDBCursor
def valueOf(): Any
Inherited from:
Object