logQuery property

LogQueryFunction? get logQuery

Optional function to log a query.

Query text reflects the adapter's SQL. SQLite inserts, updates by ID, and upserts use bound placeholders for both single-row and batch writes; their bound values are not interpolated into the logged query. Raw SQL literals and PostgreSQL ORM queries can still include values.

Implementation

LogQueryFunction? get logQuery;