Results 101 - 120 of 125

DataStoreChangeEvent.revisionId

The revisionId read-only property of the DataStoreChangeEvent interface returns the ID of the current revision of the data store, i.e. the current change that has been made to a data record.
API Data Store Data Store API Database DataStoreChangeEvent Property Reference revisionId Référence Storage storage

DataStoreCursor

The DataStoreCursor interface of the Data Store API represents a cursor that allows apps to iterate through a list of DataStoreTask objects representing the change history of the data store, for use when synchronizing the data.
API Data Store Data Store API Database DataStoreCursor Interface Non-standard Reference Référence Storage storage

DataStoreCursor.close()

The close() method of the DataStoreCursor interface makes a request to terminate the cursor.
API close Data Store Data Store API Database DataStoreCursor Method Reference Référence Storage storage

DataStoreCursor.next()

The next() method of the DataStoreCursor interface makes a request to retrieve information about the next operation that changes a record in the data store. Returns a promise of type DataStoreTask.
API Data Store Data Store API Database DataStoreCursor Method Next next Reference Référence storage Storage

DataStoreTask

The DataStoreTask interface of the Data Store API represents a record changed in the data store when a DataStoreCursor is used to iterate through the data store's change history.
API Data Store Data Store API Database DataStoreTask Interface Non-standard Reference Référence storage Storage

DataStoreTask.data

The data read-only property of the DataStoreChangeEvent interface returns the data stored in the changed record in the data store. Must return null if the operation is clear or done.
API data Data Store Data Store API Database DataStoreTask Property Reference Référence storage Storage

DataStoreTask.id

The id read-only property of the DataStoreTask interface returns the identifier of the changed record in the data store. This must return null if the operation is cleared or done.
API Data Store Data Store API Database DataStoreTask id Property Reference Référence storage Storage

DataStoreTask.operation

The operation read-only property of the DataStoreTask interface returns the type of operation that represents the current change that has been made to the data store.
API Data Store Data Store API Database DataStoreTask operation Property Reference Référence storage Storage

DataStoreTask.revisionId

The revisionId read-only property of the DataStoreTask interface returns the id of the current revision of the data store, i.e. the current change that has been made to a data record.
API Data Store Data Store API Database DataStoreTask Property Reference revisionId Référence storage Storage

IDBEnvironment

The IDBEnvironment interface of the IndexedDB API contains the indexedDB property, which provides access to IndexedDB functionality. It is the top level IndexedDB interface implemented by the window and Worker objects.
access API asynchronous client-side Database DOM IDBEnvironment IndexedDB Interface Reference Référence Storage

DataStore.add()

The add() method of the DataStore interface adds a new record to the data store; if the record you are attempting to add already exists, it will throw an exception.
Add API B2G Data Store Data Store API Database DataStore Firefox OS Method Reference Référence Storage storage

DataStore.clear()

The clear() method of the DataStore interface deletes all records from the data store, leaving it empty.
API B2G clear Data Store Data Store API Database DataStore Firefox OS Method Reference Référence storage Storage

DataStore.get()

The get() method of the DataStore interface retrieves one or more objects from the current data store.
API B2G Data Store Data Store API Database DataStore Firefox OS Method Reference Référence Storage storage

DataStore.getLength()

The getLength() method of the DataStore interface returns the number of records stored in the current data store.
API B2G Data Store Data Store API Database DataStore Firefox OS Method Reference Référence storage Storage

DataStore.name

The name read-only property of the DataStore interface returns the name of the current data store.
API B2G Data Store Data Store API Database DataStore Firefox OS name Property Reference Référence storage Storage

DataStore.onchange

The onchange event handler of the DataStore interface fires when a change is made to the data store. Its main use is to synchronize different apps that are using the data store when a change is made. When fired, this event returns a DataStoreChangeEvent, which can be used to handle the change that was just made. Alternatively, when the event fires you could create a DataStoreCursor and iterate through all the records, if needed.
API B2G Data Store Data Store API Database DataStore Events events Firefox OS onchange Property Reference Référence Storage storage

DataStore.owner

The owner read-only property of the DataStore interface returns the name of the app that owns the current data store.
API B2G Data Store Data Store API Database DataStore Firefox OS owner Property Reference Référence storage Storage