litehelpers / cordova-sqlite-evplus-ext-legacy-build-free

TODO INCORRECT PACKAGE NAME: Cordova sqlite storage plugin, premium enterprise legacy support (GPL or commercial license) for Android, iOS, and Windows
Other
10 stars 9 forks source link

plugin support Blob Objects #9

Open crossdsection opened 8 years ago

crossdsection commented 8 years ago

I created a table using following query - CREATE TABLE blobs (id INTEGER PRIMARY KEY AUTOINCREMENT, blobKey TEXT, image BLOB, fileName TEXT );

Gets following error while inserting a Blob Object - Error processing SQL: a statement error callback did not return false: Unsupported argument type: blob

in SQLite3.js, the bind function had only three cases - number, string and null.

Is there any solution for saving blob objects?

brodycj commented 8 years ago

Full BLOB support was contributed in litehelpers/Cordova-sqlite-storage#170 but currently not integrated.

https://github.com/litehelpers/Cordova-sqlite-evfree-ext supports the reading of BLOBs (from pre-populated databases).

I am not certain when I will have a chance to integrate litehelpers/Cordova-sqlite-storage#170.