IDBTransaction.objectStoreNames
Experimental: 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.
Syntax
var myDatabase = transactionObj.objectStoreNames;
Returns
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 example live.)