forEach method
Run a function taking a QueryResultRow
on the whole QueryResult
.
Implementation
@override
void forEach(Function rowFunction) {
if (sqliteResultSet != null) {
sqliteResultSet!.forEach((row) {
rowFunction(SqliteQueryResultRow.fromSqliteResultSetRow(row));
});
return;
}
throw StateError("No query result defined.");
}