createObjectStore method
The createObjectStore()
method of the
IDBDatabase interface creates and returns a new IDBObjectStore.
The method takes the name of the store as well as a parameter object that lets you define important optional properties. You can use the property to uniquely identify individual objects in the store. As the property is an identifier, it should be unique to every object, and every object should have that property.
This method can be called only within a
versionchange
transaction.
Implementation
external IDBObjectStore createObjectStore(
String name, [
IDBObjectStoreParameters options,
]);