SqlResult class final

Raw row values and write metadata returned by a completed driver operation.

Constructors

SqlResult(List<List<Object?>> rows, {List<String> columns = const [], int affectedRows = 0, int? lastInsertId})
Retains the supplied row lists without copying them.
const

Properties

affectedRows int
Number of affected rows reported by the engine; defaults to zero.
final
columns List<String>
Physical result column labels, or an empty list if unavailable.
final
hashCode int
The hash code for this object.
no setterinherited
lastInsertId int?
Generated identity returned directly by the server, when available.
final
rows List<List<Object?>>
Rows in result order, with values in columns order when names are known.
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