Method RedactSql
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
RedactSql(string?)
Redacts literals in a SQL statement and truncates it to the configured limit.
public string RedactSql(string? sql)
Parameters
Returns
- string
SQL safe to retain and to share, or an empty string when
sqlis null.