Skip to content

Instance Property

recordsQueryText

Whether the query’s SQL is recorded as db.query.text. Defaults to true.
var recordsQueryText: Bool

Discussion

The recorded text is the SQL as sent to the server, with $n placeholders in place of the bound values, so it does not contain bind values. Disable this if you interpolate sensitive data directly into your SQL.