[odb-users] Trace sqlite statements with bound parameters

Adnan RIHAN axel50397 at gmail.com
Thu Nov 13 06:38:49 EST 2014


Hi there,

Long time no see ;)
I need to trace sqlite statement with bound parameters, as explained here: http://www.codesynthesis.com/products/odb/doc/manual.xhtml#3.13

I’ve copy pasted the pgsql_tracer ans renamed every “pgsql” to “sqlite” and fixed compilation problems. Then I see that “odb::sqlite::statement” has a “text()” method which outputs the query with (?), and I don’t see which method I could use to get the values.

How to do that please?
--  
Cordialement, Adnan RIHAN.
Directeur-Gérant de Eolis-Software, société de services informatiques.  

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
-> Si vous n'utilisez pas GPG mais souhaitez quand même m’envoyer un e-mail chiffré: (https://encrypt.to/0x567562BA).



More information about the odb-users mailing list