SqlWriteResult class final
Portable metadata returned by one SQL write.
Constructors
- SqlWriteResult({required int affectedRows, int? lastInsertId})
- Creates write metadata with the number of changed rows and generated ID.
Properties
- affectedRows → int
-
Number of rows changed by the statement.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastInsertId → int?
-
Auto-generated integer key reported by the write, when available.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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