17 May
2007
17 May
'07
9:56 a.m.
"Trigve Siver"
The signature of exec() method is:
--- result exec(const PGSTD::string &Query, const PGSTD::string &Desc=PGSTD::string()); ---
Is "pqxx::result" the exact type the expression T.exec("some select...") returns? Can you do:
pqxx::result r; BOOST_AUTO(rr, r);
?
Yes I can do this without error:
--- pqxx::result rs = T.exec(sql_stream.str()); BOOST_AUTO(r, rs); ---
Can you paste the exact line of code that causes the error? Regards, Arkadiy