Putting large blobs into sqlite will greatly increase the footprint. It is recommended to add a path field, use the field name primary key as the file name, write the blob as a physical file, and only store a path in the database
And if you want us to help you, at least don’t write the code without parentheses
sqlite3_bind_blob(insertstmt, 10, [Data bytes], [Data length], SQLITE_TRANSIENT);
Different databases have different interfaces. For sqlite, just make a bind like this. The sql statement is written normally
Putting large blobs into sqlite will greatly increase the footprint. It is recommended to add a path field, use the field name primary key as the file name, write the blob as a physical file, and only store a path in the database
And if you want us to help you, at least don’t write the code without parentheses