count method

Future<int> count()

Implementation

Future<int> count() async {
  Database db = await database;

  aggregateFunctions(" count ", "*");

  List<Map<String, Object?>> result = await db.rawQuery(_query, _bindings);

  return result.first.values.first as int;
}