QueryLogOptions.logParams property
Whether to log bound parameters as well.
Signature:
logParams?: boolean;
Remarks
Off by default and worth keeping that way outside local debugging: the statement text and its timing are logged either way, while the bound parameters carry whatever the caller passed — stored values, user ids — and a log file is the least protected place that data can land.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.