On 16 May 2011, at 9:51am, StyveA wrote:

> I'm working on a code in C, and I would like to insert a structure into a
> table as BLOB type.
> 
> Is-it possible to pass it entirely in one time? Or should I insert each
> parameters of my structure independently?

Assuming that this is straight C, and that your structure is all in one piece 
of contiguous memory, it should work fine.  No reason why you can't do it all 
in one chunk, as long as the meaning of a BLOB you find in a database field is 
unambiguous.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to