MssqlUnsafeWriteException class
Raised when an update or delete would touch every row without the caller having said so.
A configured scope does not count as a user predicate: scopes exist to narrow reads, and treating one as intent to write the whole table is how a tenant filter turns into a table-wide UPDATE.
- Inheritance
-
- Object
- MssqlOrmException
- MssqlUnsafeWriteException
Constructors
- MssqlUnsafeWriteException(String table, String operation)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A sentence naming what happened and, where there is one, what to do.
no setteroverride
- operation → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited