Massive indexeddb optimization
This commit is contained in:
parent
0e65e834da
commit
e6e11bb8f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue