Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Inserting blob/binary data into sqlite database using the FuelPHP query builder
  • I have looked all over the docs and searched google, but can't seem to find much info about inserting blob/binary data (in my case PNG images) into a database (in my case an SQLite database via PDO).

    With PDO you can pass PDO::PARAM_LOB as the third parameter to bindParam(). With Sqlite3 you can pass SQLITE3_BLOB as  the third parameter to bindParam(). When composing an query with the Insert Query Builder, how do I get FuelPHP to treat the certain data as a blob as opposed to a string.
  • Very good question, I never needed it. Maybe someone else?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion