List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:August 20 2010 3:31am
Subject:Re: execute() and store() discrepancy
View as plain text  
On Aug 19, 2010, at 7:19 PM, asokodesuka wrote:

> If I use execute()
> 
> mysqlpp::Query query = db_connexion.query();
> query << "SELECT client_number FROM clients WHERE client_number = 100";
> 
> if (mysqlpp::SimpleResult res = query.execute())
> {
> 	mysqlpp::ulonglong rows = res.rows();
> }

From the user manual: "execute() is for queries that do not return data per se."

http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#querytypes

Thread
execute() and store() discrepancyasokodesuka20 Aug
  • Re: execute() and store() discrepancyWarren Young20 Aug
    • Re: execute() and store() discrepancyasokodesuka20 Aug
      • Re: execute() and store() discrepancyWarren Young20 Aug
        • Re: execute() and store() discrepancyasokodesuka20 Aug