SqlResultSet class

Result set from a SQL query execution.

Constructors

SqlResultSet({required List<String> columnNames, required List<ColumnType> columnTypes, required List<List> rows, String? lastInsertId})
const

Properties

columnNames → List<String>
Names of columns in the result
final
columnTypes → List<ColumnType>
Types of columns in the result
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Check if result set is empty
no setter
lastInsertId → String?
Last inserted ID for AUTO_INCREMENT/SERIAL columns (if applicable)
final
length → int
Number of rows in result
no setter
rows → List<List>
The actual data rows (each row is a list of values)
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited