How to log the parameters sent to database via odb?

343 views Asked by At

I understand that queries can be logged via odb::tracer. The output looks something like this:

INSERT INTO "event" ("id", "date","seq") VALUES ($1, $2, $3)

How about the parameters' values?, i.e. how to see the actual values of $1, $2, $3 in the stdout (for troubleshooting)?

0

There are 0 answers