platform
platform copied to clipboard
Policy: trace level logs should show sql queries being run
Background
Policy db queries are being migrated from squirrel to sqlc (#864). We need to log the SQL queries being executed at the trace log level like we've done in the past with Squirrel.
Acceptance Criteria
- a DRY functionality exists to log SQL queries executed by SQLC functions at the trace level