SUMMARY: Inserting a BLOB using MySQL++

2002-04-23 Thread Thi Cao
--Original Message- From: Opus [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 3:14 PM To: Thi Cao; MySQL Subject: Re: Inserting a BLOB using MySQL++ Probably the best bet would be to write the individual attributes to respective database columns. It keeps a few things simpler. It would

Re: Inserting a BLOB using MySQL++

2002-04-22 Thread Opus
Probably the best bet would be to write the individual attributes to respective database columns. It keeps a few things simpler. It would also allow you to update the database from multible sources (many threads, or many users on the database). Other wise, you would have to serialize the obj

Re: Inserting a BLOB using MySQL++

2002-04-22 Thread Sinisa Milivojevic
Thi Cao writes: > All, > > I created a C++ class containing a variety of member variables of varying > types such as float, int, char *, etc. If I instantiate an object of this > class, how should I insert this object into my database table? I can > retrieve the individual members and insert th

Inserting a BLOB using MySQL++

2002-04-22 Thread Thi Cao
All, I created a C++ class containing a variety of member variables of varying types such as float, int, char *, etc. If I instantiate an object of this class, how should I insert this object into my database table? I can retrieve the individual members and insert them that way, but I feel it w