MssqlAffectedRowsException class
Raised when a write changed a different number of rows than the caller
declared with expectAffected.
The write itself succeeded. Whether it is still in the database depends on
the transaction the guard ran in — see doc/API_CONTRACT.md §4.
- Inheritance
-
- Object
- MssqlOrmException
- MssqlAffectedRowsException
Constructors
Properties
- actual → int
-
final
- expected → int
-
final
- 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
-
update,delete,decrement, …final - rolledBack → bool
-
Whether this layer rolled the write back. False when the caller's own
transaction owns that decision.
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