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. | Recommendation |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 48 | ? | Yes | ? | 35 | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 48 | 48 | ? | ? | 35 | ? | 5.0 |
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