| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | April 7 2005 10:09pm |
| Subject: | Re: sql_create in header | ||
| View as plain text | |||
don thompson wrote:
> like to define 'tshares row' as a member of this class.
If I understand you correctly, you are trying to store instances of a
C++ class into columns of the MySQL database. This will not work; MySQL
is not an object-oriented database. You can only use primitive types
(int, float, char*...), or types like std::string which can be readily
converted to primitives.
Also, please don't reply to an existing thread in order to post to the
list. It messes up mail readers that can do threaded reading. Make a
fresh post instead.
| Thread | ||
|---|---|---|
| • auto_increment | Joachim Person | 14 Mar |
| • Re: auto_increment | Chris Frey | 14 Mar |
| • Re: auto_increment | Earl Miles | 14 Mar |
| • Re: auto_increment | Chris Frey | 15 Mar |
| • sql_create in header | don thompson | 7 Apr |
| • Re: sql_create in header | Warren Young | 8 Apr |
| • Re: sql_create in header | don thompson | 8 Apr |
| • Re: sql_create in header | Warren Young | 9 Apr |
| • Re: auto_increment | Warren Young | 15 Mar |
| • Re: auto_increment | Warren Young | 15 Mar |
