Table of Contents

Property RedactNumericLiterals

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

RedactNumericLiterals

Gets or sets a value indicating whether numeric literals surviving normalization are redacted. Defaults to true.

public bool RedactNumericLiterals { get; set; }

Property Value

bool

Remarks

An inlined number is far more often an identifier than a page size, so the default treats it as data. The trade-off is real: redacting numbers also merges queries that differ only by a literal such as LIMIT 10 versus LIMIT 100. Turn this off if that distinction matters more to you than the inlined values.