#Access to executed postgres queries

6 messages · Page 1 of 1 (latest)

reef cipher
#

I want to intercept calls to database transactions, so i would be able to measure their length and log them.

I tried wrapping payload properties payload.db.drizzle, pool, session etc. What would be the right approach?

stoic girderBOT
raven basin
#

The instance of the logger to be passed to drizzle. By default Payload's will be used.

#

But, as you mentioned

#

After Payload is initialized, this adapter will expose the full power of Drizzle to you for use if you need it.