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
The plugin shows the message "Error occurred in handler for 'CapacitorSQLite-executeSet': Error: ExecuteSet failed: TypeError: Cannot read properties of undefined (reading 'lastId')"
when i pass an 'executeSet' like: [ {statement: 'INSERT INTO MyTable(Field1, Field2, Field3) VALUES(?, ?, ?);', values: [ [1,2,3], [4,5,6], [7,8,9] ]}, {statement: 'INSERT INTO MyOtherTable(Field1, Field2, Field3) VALUES(?, ?, ?);', values: [ [11,12,13], [14,15,16], [17,18,19] ]} ]
with someting like 10k values per table!
To Reproduce
Create a new project with Ioinic + Angular and use the https://github.com/capacitor-community/sqlite plugin
Configure it for Electron for windows 11 X64
Create a Table with at least 3 fields
Use the mehtod executeSet(set: capSQLiteSet[], transaction?: boolean, returnMode?: string, isSQL92?: boolean): Promise<capSQLiteChanges>; and pass a values array with 10k values.
Execute the App and the mentioned method and the error appears.
Expected behavior
I expect the same behavior like executeSet method in Android platform (it works fast and perfect!!!)
The plugin shows the message "Error occurred in handler for 'CapacitorSQLite-executeSet': Error: ExecuteSet failed: TypeError: Cannot read properties of undefined (reading 'lastId')"
when i pass an 'executeSet' like:
[ {statement: 'INSERT INTO MyTable(Field1, Field2, Field3) VALUES(?, ?, ?);', values: [ [1,2,3], [4,5,6], [7,8,9] ]}, {statement: 'INSERT INTO MyOtherTable(Field1, Field2, Field3) VALUES(?, ?, ?);', values: [ [11,12,13], [14,15,16], [17,18,19] ]} ]
with someting like 10k values per table!
To Reproduce
https://github.com/capacitor-community/sqlite
pluginexecuteSet(set: capSQLiteSet[], transaction?: boolean, returnMode?: string, isSQL92?: boolean): Promise<capSQLiteChanges>;
and pass a values array with 10k values.Expected behavior
I expect the same behavior like
executeSet
method in Android platform (it works fast and perfect!!!)Screenshots
Project Information:
Capacitor: "@capacitor/core": "^5.0.0"
Plugins:
The text was updated successfully, but these errors were encountered: