IDBTransaction: objectStoreNames property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2021.
The objectStoreNames
read-only property of the
IDBTransaction
interface returns a DOMStringList
of names
of IDBObjectStore
objects.
Value
A DOMStringList
of names of IDBObjectStore
objects.
Specifications
Specification |
---|
Indexed Database API 3.0 # ref-for-dom-idbtransaction-objectstorenames① |
Browser compatibility
BCD tables only load in the browser
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).