Hi, Olivers question reminded me to answer yours also.
If you enable debug level for category "tntdb" you will get plenty of information including the sql statement and the parameters set. Note that tntdb do not build the actual sql statement but passes the sql with parameters and the actual parameter values separately using the api of the underlying database. So tntdb never knows the whole sql including the parameter values. Tommi Am 20.08.2015 um 21:43 schrieb Jean-Marc Choulet: > Hello, > > We use tntdb::Statement" with parameterized queries. Is it possible to > log the SQL text before running the query? > > Thanks, > > Jean-Marc. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general ------------------------------------------------------------------------------ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
