CodeIgniter Forums
SQLite3 - inserting binary data - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter 4 (
+--- Forum: CodeIgniter 4 Support (
+--- Thread: SQLite3 - inserting binary data (/showthread.php?tid=76461)

SQLite3 - inserting binary data - michalsn - 05-14-2020


Have anyone tried and succeeded in inserting any binary data to SQLite3 with CodeIgniter 4?

I tried to do it yesterday and failed. After some investigation, I think it's quite impossible, but maybe I'm just missing something. My data comes from a byte string, not a file - if it changes something (probably not). From what I saw it's probably possible with PreparedQuery, but I need it to work with Builder class.

My byte string has some chars that break everything

I would appreciate any ideas and hints.