List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:January 7 2009 5:39pm
Subject:Re: saving BLOB to a file
View as plain text  
Valeri Tishev wrote:
>    mysqlpp::sql_blob, blob,


>        mysqlpp::Query query = connection.query("SELECT id, name, photo, 
> timestamp FROM db WHERE id = 5");

SSQLS populates fields by name in MySQL++ v3, not by position.  Rename 
the SSQLS field to 'photo' to match the DB schema, or use 
sql_create_complete_X to allow different names on each side.
saving BLOB to a fileValeri Tishev7 Jan
  • Re: saving BLOB to a fileWarren Young7 Jan