globalConditions property

List<MssqlCondition> get globalConditions

Every predicate except the soft-delete filter.

Used by forceDelete, restore and _softDelete, which handle the soft-delete column themselves and must not have the alive/deleted filter applied a second time. Tenant and other global scopes still constrain them.

Resolved on first use and then fixed, and the same resolution backs readConditions, so the two can never disagree about the tenant.

Implementation

List<MssqlCondition> get globalConditions =>
    _global ??= List<MssqlCondition>.unmodifiable(_resolveScopes());