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 (Indexed DB 3.0) # ref-for-dom-idbtransaction-objectstorenames①  | 
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 example live.)
 
    © 2005–2021 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