IDBTransaction:objectStoreNames 属性

Baseline 已广泛支持

此特性已相当成熟,可在许多设备和浏览器版本上使用。自 ⁨2020 年 1 月⁩ 起,所有主流浏览器均已支持。

IDBTransaction 接口的 objectStoreNames 只读属性返回一个 DOMStringList,其中包含 IDBObjectStore 对象的名称。

一个包含 IDBObjectStore 对象名称的 DOMStringList

规范

规范
Indexed Database API 3.0
# ref-for-dom-idbtransaction-objectstorenames①

浏览器兼容性

另见