This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The objectStoreNames
read-only property of the IDBTransaction
interface returns a DOMStringList
of names of IDBObjectStore
objects.
var myDatabase = transactionObj.objectStoreNames;
A DOMStringList
of names of IDBObjectStore
objects.
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 |
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 | ? |
IDBDatabase
IDBTransaction
IDBKeyRange
IDBObjectStore
IDBCursor
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/ObjectStoreNames