forked from coracle/flotilla
Massive indexeddb optimization
This commit is contained in:
@@ -72,7 +72,7 @@ export class IDB {
|
|||||||
|
|
||||||
if (!connection) return []
|
if (!connection) return []
|
||||||
|
|
||||||
const tx = connection.transaction(table, "readwrite")
|
const tx = connection.transaction(table, "readonly")
|
||||||
const store = tx.objectStore(table)
|
const store = tx.objectStore(table)
|
||||||
const result = await store.getAll()
|
const result = await store.getAll()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user