WriteResult class final

Result of a write operation returned by Database.execute and Transaction.execute.

Constructors

WriteResult(int affectedRows, int lastInsertId)
const

Properties

affectedRows → int
The number of rows inserted, updated, or deleted by the statement.
final
hashCode → int
The hash code for this object.
no setterinherited
lastInsertId → int
The ROWID of the last successful INSERT, or 0 for non-INSERT statements.
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