Skip to content

AllowUnfilteredMutation Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

QueryBuilder<T> AllowUnfilteredMutation() ​

csharp
QueryBuilder<T> AllowUnfilteredMutation()

Opts into an intentional match-all mutation (WHERE 1=1) when no filters are present.

Returns ​

A new builder with unfiltered mutations allowed.

Remarks ​

Without this call, DeleteAsync and ToDeleteSql throw when no WHERE filter exists. Does not bypass the joins reject: DELETE/UPDATE with joins remains unsupported. Prefer restrictive Where filters in application code.