Results 121 - 140 of 161

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.indexedDB

The indexedDB property of the IDBEnvironment interface provides a mechanism for applications to asynchronously access the capabilities of indexed databases.
API Database IDBEnvironment IndexedDB Property 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

DataStore.put()

The put() method of the DataStore interface updates an existing record in the data store.
API B2G Data Store Data Store API Database DataStore Firefox OS Method put Reference Référence Storage storage

DataStore.readOnly

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

DataStore.remove()

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