Saving and retrieving image(blob) in DB
Good morning, Do you have any example for saving and retrieving image(blob) in DB? I do not know corresponding data type of blob in C++.
It will be great if you provide some information.
blob isn't supported right now - it has low priority in development plan cause blobs like images are rarely stored in sqlite. Anyway I planned to add blob support with std::vector<char> c++ blob type. I mean if you wanna bind a blob to a statement you have to use std::vector<char>.
Ok if it's required I'll add blob support in next commits: std::vector<char> mapping in make_column, inserting and selecting std::vector<char>.
It will be great. Thanks. You can set it low priority.
Please check it out here
Thanks