The objectStoreNames
read-only property of the IDBTransaction
interface returns a DOMStringList
of names of IDBObjectStore
objects.
On this page
IDBTransaction: objectStoreNames property
Value
A DOMStringList
of names of IDBObjectStore
objects.
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
ObjectStoreNames |
48 | 79 | 10 | No | 35 | 10.1 | 48 | 48 | 22 | 35 | 10.3 | 5.0 |
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 the example live).
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/ObjectStoreNames