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
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 48 | (Yes) | ? | 35 | ? |
Available in workers | 48 | ? | ? | 35 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 48 | 48 | ? | ? | ? | 35 | ? |
Available in workers | 48 | 48 | ? | ? | ? | 35 | ? |
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.)