fetchRows method

Future<Iterable<Map>> fetchRows(
  1. String sql, [
  2. List<Object?>? values
])

Implementation

Future<Iterable<Map>> fetchRows(String sql, [List<Object?>? values]) async {
  counter++;
  List<Map> ret = [];
  for (var row in (await _prepareAndExecute(sql, values)).rows) {
    ret.add(row.typedAssoc());
  }
  return ret;
}