Version: Smart Feature Phone 2.5
DataStoreCursor.store()
The store read-only property of the DataStoreCursor interface returns the name of the store that the cursor is iterating over.
Note: The Data Store API is available in Web Workers, from Firefox 32 onwards
#
Syntax#
ValueA DataStore object.
#
ExampleIn the following example, we use navigator.getDataStores to return a list of DataStore objects representing data stores on the device called contacts. Since there is only one such data store, we can access it using stores[0]. Next we run DataStore.sync to create a DataStoreCursor object, then use cursor.store to return back the store name.