Writes data to the specified IndexedDB object store.
The type of data to write
The name of the object store to write to
The data object to store
Promise that resolves when the data is written
If the write operation fails
Writes data to the specified IndexedDB object store.