DisyInformationssysteme / Cordova-spatialite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/Windows Universal(8.1)/Amazon Fire-OS/WP(7/8) with HTML5/Web SQL API
Other
24 stars 17 forks source link

sqlBatch Error #10

Open johnsnelson opened 6 years ago

johnsnelson commented 6 years ago

Hello all, We began developing our app using the Cordova-sqlite-storage plugin and we rely on the sqlBatch function that that plugin supplies to push a large number of features into our database all at once. I recently switched out that plugin for this one because we have found that we really need our database to be spatially-aware in order to optimize the speed of our mapping component. We have been focusing our efforts on an iOS release right now and when I test our app on my iPhone, XCode indicates an error on the line in our javascript with the sqlBatch function. I'm pretty sure I'm passing all the data in the correct format as it worked previously with the regular sqlite plugin, but now it's failing. So, my question is this: Does this plugin support sqlBatch functionality? If not, is it something that was removed when making this plugin or was it not in the sqlite plugin when this was forked? Is it something that will be added at some point in the future or should I just find a way to work around not having it? Thanks!