Skip to content
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

plugin support Blob Objects #9

Open
crossdsection opened this issue Mar 4, 2016 · 1 comment
Open

plugin support Blob Objects #9

crossdsection opened this issue Mar 4, 2016 · 1 comment

Comments

@crossdsection
Copy link

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
Copy link
Member

brodycj commented Mar 11, 2016

Full BLOB support was contributed in storesafe/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 storesafe/cordova-sqlite-storage#170.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants