This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The objectStoreNames
read-only property of the IDBTransaction
interface returns a DOMStringList
of names of IDBObjectStore
objects.
Syntax
var myDatabase = transactionObj.objectStoreNames;
Returns
A DOMStringList
of names of IDBObjectStore
objects.
Specification
Specification | Status | Comment |
---|---|---|
Indexed Database API The definition of 'ObjectStoreNames' in that specification. |
Recommendation | |
Indexed Database API 2.0 The definition of 'ObjectStoreNames' in that specification. |
Editor's Draft |
Browser compatibility
See also
- Using IndexedDB
- Starting transactions:
IDBDatabase
- Using transactions:
IDBTransaction
- Setting a range of keys:
IDBKeyRange
- Retrieving and making changes to your data:
IDBObjectStore
- Using cursors:
IDBCursor
- Reference example: To-do Notifications (view example live.)