On Fri, 8 Nov 2013 18:12:13 +0100 JP <jp.garcia.or...@gmail.com> wrote:
J> is there any way to get the final query string that is used by the backend? J> The available methods like "get_last_query" and "get_query_strem" return J> the query string as specified to the session, without replacing the items J> like ":name" with the current value specified using soci::use(name). This J> functionality would be very interesting for debugging, at least in my J> case... In mine (and I suspect that of quite a few others) too. Unfortunately there is no way to do it now, but there is a pull request for it at https://github.com/SOCI/soci/pull/138 I still hope to get to it one day and refactor it to work at common code level instead of being done for each backend individually, but haven't had time to do it since more than half a year, so I really don't know when is this going to happen. If you're interested in looking at this, please do! Regards, VZ
pgpV0Tgl3DELT.pgp
Description: PGP signature
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ soci-users mailing list soci-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-users