Reads all records from the specified IndexedDB object store.
The type of data to read
The name of the object store to read from
Promise that resolves to an array of all stored records
If the read operation fails
Reads all records from the specified IndexedDB object store.