rawQuery method

Future<List<Map<String, dynamic>>> rawQuery(
  1. String sql,
  2. [List arguments]
)

Executes a raw SQL SELECT query and returns a list of the rows that were found.

List<Map> list = await database.rawQuery('SELECT * FROM Test');

Implementation

Future<List<Map<String, dynamic>>> rawQuery(String sql,
    [List<dynamic> arguments]);