MySQL Forums
Forum List  »  Connector/C++

Conversion in MySQL++
Posted by: Kyle Brady
Date: April 09, 2008 09:47PM

Is there a way to convert a *single* result into a "normal" variable?

I came across .storein() but that doesn't work for this.

After making a query, using "mysqlpp::StoreQueryResult users =;", and then looping through the result... I'd like the ability to store something like "users["id"]" inside an int, and other types as strings.

I couldn't find anything in the docs. Any suggestions?


Options: ReplyQuote

Written By
Conversion in MySQL++
April 09, 2008 09:47PM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.