rawQuery abstract method
Executes a raw SQL SELECT query and returns a list of the rows that were found.
The result list and its maps are read-only, copy them to modify them.
var list = await database.rawQuery(
'SELECT * FROM Test WHERE name = ?',
['some name'],
);
Implementation
Future<List<Map<String, Object?>>> rawQuery(
String sql, [
List<Object?>? arguments,
]);