withoutGlobalScopes method

MssqlScopeSelection withoutGlobalScopes(
  1. List<MssqlScope> all
)

Switches every named global scope off.

Soft deletes have their own switch and are not affected.

Implementation

MssqlScopeSelection withoutGlobalScopes(List<MssqlScope> all) {
  var out = this;
  for (final scope in all) {
    out = out.withoutScope(scope.name);
  }
  return out;
}