execDataTable method

Future<List<Map<String, Object?>>> execDataTable(
  1. String pSql, [
  2. List? arguments
])

Run Select Command and return List<Map<String, Object?>> such as datatable

Implementation

Future<List<Map<String, Object?>>> execDataTable(String pSql,
    [List<dynamic>? arguments]) async {
  final Database db = (await this.db)!;
  final result = await db.rawQuery(pSql, arguments);

  return result;
}