[Cppcms-users] cppdb: getting the full query
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2010-12-24 08:22:33
|
Hello, Like discussed previously for dbixx, cppdb lacks the possibility to get the full query (for either logging or debugging purposes). At least when an error is thrown, we should be able to get the full query that caused the error. The driver error is not explicit enough. cppdb_error should implement: std::string cppdb::cppdb_error::get_query() which would return the full SQL. Probably, a similar function should exist in cppdb::session (to get the full query even when no error is thrown. In many cases, it would make development easier. Thanks, Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |