Class/Object

org.scalajs.dom.raw

IDBCursor

Related Docs: object IDBCursor | package raw

Permalink

class IDBCursor extends Object

The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.

The cursor has a source that indicates which index or object store it is iterating. It has a position within the range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an application to asynchronously process all the records in the cursor's range.

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IDBCursor
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IDBCursor()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def advance(count: Int): Unit

    Permalink

    This method may raise a DOMException with a DOMError of the following types:

    This method may raise a DOMException with a DOMError of the following types:

    MDN

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def continue(key: Any = ???): Unit

    Permalink

    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

  8. def delete(): IDBRequest

    Permalink

    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.

    MDN

  9. def direction: String

    Permalink

    Is a DOMString that, on getting, returns the direction of traversal of the cursor.

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

    MDN

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. def key: Any

    Permalink

    Returns the key for the record at the cursor's position.

    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.

    MDN

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def primaryKey: Any

    Permalink

    Returns the cursor's current effective key.

    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.

    MDN

  23. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  24. def source: Any

    Permalink

    On getting, this object returns the IDBObjectStore or IDBIndex that the cursor is iterating.

    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.

    MDN

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def update(value: Any): IDBRequest

    Permalink

    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.

    MDN

  29. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped