org.scalajs.dom

IDBCursor

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()
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IDBCursor()

Value Members

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

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

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

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

    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

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def delete(): IDBRequest

    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

  8. def direction: String

    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

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

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

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

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

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

    Definition Classes
    Object
  14. def hashCode(): Int

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

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

    Definition Classes
    Object
  17. def key: Any

    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

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

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def primaryKey: Any

    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

  22. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  23. def source: Any

    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

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

    Definition Classes
    AnyRef
  25. def toLocaleString(): String

    Definition Classes
    Object
  26. def toString(): String

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

    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

  28. def valueOf(): Any

    Definition Classes
    Object
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def unary_!(): Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Considered abuse in typed JavaScript, will be removed in 0.6. Use js.Dynamic or js.prim.Boolean instead.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped