|
Boost Users : |
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2007-05-17 05:56:38
"Trigve Siver" <trigves_at_[hidden]> wrote
> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net