rawQuery method
Executes a raw SQL SELECT query and returns a list of the rows that were found.
Implementation
@override
Future<List<Map<String, dynamic>>> rawQuery(String sqlStmt) async {
List<Map<String, dynamic>> recs;
try {
recs = await _dbInt!.rawQuery(sqlStmt);
// Convert the QueryResultSet to a Map
recs = mapQuery(recs);
_dbError.clear();
} catch (e) {
final Exception ex = e is Exception ? e : Exception(e.toString());
_dbError.set(ex);
recs = [];
}
return recs;
}