Property CaptureParameterValues
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
CaptureParameterValues
Gets or sets a value indicating whether parameter values are captured. Defaults to false.
public bool CaptureParameterValues { get; set; }
Property Value
Remarks
Enabling this puts real user data into every report QueryGuard produces, including any you then attach to a public issue or a CI artifact. It exists because a repeated query executed with 51 different key values is much stronger evidence of an N+1 than the same query executed 51 times, but that is a trade you have to make deliberately.
Parameter names are never retained either way; only the count is.