BS TLC wrote:
> Is there a fast way to store/load StoreQueryResult objects in files?
> I don't want to save/load only the rows, but also the structure of
> the object.
What you're asking for is called serialization, and no, MySQL++
currently has no whole-data-structure serialization mechanisms. I'm
considering adding it to SSQLS v2, but that's not going to appear for a
while.
It's not exactly what you were asking for, but check out the MySQL
reference manual on the SELECT INTO OUTFILE syntax, and the
complementary LOAD DATA INFILE.
http://dev.mysql.com/doc/refman/5.1/en/select.html
http://dev.mysql.com/doc/refman/5.1/en/load-data.html