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 = query.store();", 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?

Thanks
--Kyle

Options: ReplyQuote


Subject
Views
Written By
Posted
Conversion in MySQL++
3687
April 09, 2008 09:47PM


Sorry, you can't reply to this topic. It has been closed.

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.