createObjectStore

fun createObjectStore(name: String, options: IDBObjectStoreParameters = definedExternally): IDBObjectStore(source)

The createObjectStore() method of the The method takes the name of the store as well as a parameter object that lets you define important optional properties.

MDN Reference