I have a sqlite3 database. One column has the TEXT type, and contains blobs which I would like to save as file. Those are gzipped files.
The output of the command
You can use writefile if using the sqlite3 command line tool:
writefile
sqlite3
Example usage: select writefile('blob.bin', blob_column) from table where key='12345';
select writefile('blob.bin', blob_column) from table where key='12345';