Class

org.scalajs.dom.raw

IDBObjectStore

Related Doc: package raw

Permalink

class IDBObjectStore extends Object

The IDBObjectStore interface of the IndexedDB API represents an object store in a database. Records within an object store are sorted according to their keys. This sorting enables fast insertion, look-up, and ordered retrieval.

MDN

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

Instance Constructors

  1. new IDBObjectStore()

    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 add(value: Any, key: Any = js.native): IDBRequest

    Permalink

    To determine if the add operation has completed successfully, listen for the transaction’s complete event in addition to the IDBObjectStore.add request’s success event, because the transaction may still fail after the success event fires.

    To determine if the add operation has completed successfully, listen for the transaction’s complete event in addition to the IDBObjectStore.add request’s success event, because the transaction may still fail after the success event fires. In other words, the success event is only triggered when the transaction has been successfully queued.

    MDN

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clear(): IDBRequest

    Permalink

    Clearing an object store consists of removing all records from the object store and removing all records in indexes that reference the object store.

    Clearing an object store consists of removing all records from the object store and removing all records in indexes that reference the object store.

    MDN

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def count(key: Any = js.native): IDBRequest

    Permalink
  9. def createIndex(name: String, keyPath: String, optionalParameters: Any = js.native): IDBIndex

    Permalink

    Note that this method must be called only from a VersionChange transaction mode callback.

    Note that this method must be called only from a VersionChange transaction mode callback.

    MDN

  10. def delete(key: Any): IDBRequest

    Permalink

    returns an IDBRequest object, and, in a separate thread, deletes the current object store.

    returns an IDBRequest object, and, in a separate thread, deletes the current object store.

    MDN

  11. def deleteIndex(indexName: String): Unit

    Permalink

    Note that this method must be called only from a VersionChange transaction mode callback.

    Note that this method must be called only from a VersionChange transaction mode callback. Note that this method synchronously modifies the IDBObjectStore.indexNames property.

    MDN

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(key: Any): IDBRequest

    Permalink

    If a value is successfully found, then a structured clone of it is created and set as the result of the request object.

    If a value is successfully found, then a structured clone of it is created and set as the result of the request object.

    MDN

  16. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def index(name: String): IDBIndex

    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

  20. def indexNames: DOMStringList

    Permalink

    A list of the names of indexes on objects in this object store.

    A list of the names of indexes on objects in this object store.

    MDN

  21. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  23. def keyPath: String

    Permalink

    The key path of this object store.

    The key path of this object store. If this attribute is null, the application must provide a key for each modification operation.

    MDN

  24. def name: String

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def openCursor(range: Any = js.native, direction: String = js.native): IDBRequest

    Permalink
  29. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  30. def put(value: Any, key: Any = js.native): IDBRequest

    Permalink

    If the record is successfully stored, then a success event is fired on the returned request object with the result set to the key for the stored record, and the transaction set to the transaction in which this object store is opened.

    If the record is successfully stored, then a success event is fired on the returned request object with the result set to the key for the stored record, and the transaction set to the transaction in which this object store is opened.

    MDN

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def transaction: IDBTransaction

    Permalink

    The name of the transaction to which this object store belongs.

    The name of the transaction to which this object store belongs.

    MDN

  35. def valueOf(): Any

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. 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