How to insert/update Firebird blob subtype 0 (binary) in Python?

Viewed 25

I have a Firebird database with blob subtype=0 (binary) storing picture/image data. I use fdb driver in Python to query the image data using set_stream_blob() and fdb.fbcore.BlobReader() function. I cannot find a way to store it back to Firebird if I update the data. I get error:

Unicode strings are not acceptable input for non-textual BLOB column.

Please advise what the command is to update it.

0 Answers
Related