transformResult static method
Transforms a raw database result into a persistent QueryResult.
Implementation
static QueryResult transformResult(Result result) {
final rows = result.map((row) => row.toColumnMap()).toList();
return PostgresQueryResult(rows, result.affectedRows);
}