You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql export error, return TypeError: Cannot read properties of undefined (reading 'constructor')
at readChunks (indexeddb-backend.js:65:20)
at File.read (indexeddb-backend.js:248:22)
at Object.read (index.js:101:37)
at Object.read (sql-wasm.js:151:211)
at Object.readFile (sql-wasm.js:154:349)
at c.export (sql-wasm.js:88:238)
at self.onmessage (instance.ts?type=mod…er_file? [sm]:86:23)
The error caused by const data = db.export()
In indexeddb-backend.js ,the data in undefined.
if (chunk.data.constructor.name !== 'ArrayBuffer') {
throw new Error('Chunk data is not an ArrayBuffer');
}
How can i resolve it. Thanks.
The text was updated successfully, but these errors were encountered:
I'm using absurd-sql in electron.
I export the db like this.
It got error.
The error caused by const data = db.export()
In indexeddb-backend.js ,the data in undefined.
How can i resolve it. Thanks.
The text was updated successfully, but these errors were encountered: