Results 1 - 20 of 125

IDBCursor

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

IDBCursor.advance()

The advance() method of the IDBCursor interface sets the number times a cursor should move its position forward.
advance API Database IDBCursor IndexedDB Method Reference storage Storage

IDBCursor.continue()

This method may raise a DOMException of one of the following types:
API continue Database IDBCursor IndexedDB Method Reference storage Storage

IDBCursor.delete()

An IDBRequest object on which subsequent events related to this operation are fired. The result attribute is set to undefined.
API Database delete IDBCursor IndexedDB Method Reference storage Storage

IDBCursor.direction

A string (defined by the IDBCursorDirection enum) indicating the direction in which the cursor is traversing the data. Possible values are:
API Database direction IDBCursor IndexedDB Property Reference Storage storage

IDBCursor.update()

The update() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store. If the cursor points to a record that has just been deleted, a new record is created.
API Database IDBCursor IndexedDB Method Reference Storage storage update Update

IDBCursor

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

IDBDatabase.close()

The connection is not actually closed until all transactions created using this connection are complete. No new transactions can be created for this connection once this method is called. Methods that create transactions throw an exception if a closing operation is pending.
API close Database IDBDatabase IndexedDB Method Reference Référence Storage storage

IDBDatabase.createObjectStore()

The method takes the name of the store as well as a parameter object that lets you define important optional properties. You can use the property to uniquely identify individual objects in the store. As the property is an identifier, it should be unique to every object, and every object should have that property.
API createObjectStore Database IDBDatabase IndexedDB Method Reference Référence Storage storage

IDBDatabase.name

A DOMString containing the name of the connected database.
API Database IDBDatabase IndexedDB name Property Reference Storage storage

IDBDatabase.objectStoreNames

A DOMStringList containing a list of the names of the object stores currently in the connected database.
API Database IDBDatabase IndexedDB objectStoreNames Property Reference Storage storage

IDBDatabase.onabort

This example shows an IDBOpenDBRequest.onupgradeneeded block that creates a new object store; it also includes onerror and onabort functions to handle non-success cases.
API Database IDBDatabase IndexedDB onabort Property Reference Storage storage

IDBDatabase.onerror

This example shows an IDBOpenDBRequest.onupgradeneeded block that creates a new object store; it also includes onerror and onabort functions to handle non-success cases.
API Database IDBDatabase IndexedDB onerror Property Reference Référence storage Storage

IDBDatabase.onversionchange

This example shows an IDBOpenDBRequest.onupgradeneeded block that creates a new object store; it also includes onerror and onabort functions to handle non-success cases, and an onversionchange function to notify when a database structure change has occurred.
API Database IDBDatabase IndexedDB onversionchange Property Reference Storage storage