-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting column index out of range while bulk insert #780
Comments
Please show how you created the table. |
This way
And I'm sending the array above just as it is to the |
Also which platform(s) did you see this issue on? |
Android 7.0 |
Hi @animista01 you have to remove the outer I am marking this as a bug since the error message is not clear enough, hoping to resolve it in an upcoming minor or major release ref: #685, #687, #773. |
It's fixed, thanks |
Happy to hear! |
I did do SELECT COUNT (*) in my test project after the bulk insert and it showed the correct result. I would be happy to post my test project if you like. For further help please raise an issue in litehelpers / Cordova-sqlite-help / issues and I would be happy to take a look. I am also happy to offer private, priority commercial support, please contact in case of interest: [email protected] |
Am use without [ ], |
Object =>InsertId:Undefined |
@CenaSurya it looks like your issue is different and I am really not able to follow what is happening in your code. Please raise a new issue in https://github.com/litehelpers/Cordova-sqlite-help/issues, show the code how you open the database, how you create the table, and how you try to insert the data. |
Hey! I'm trying to implement a bulk insert, I've built this array
And I get this error when calling
sqlBatch
The text was updated successfully, but these errors were encountered: