getCountAll method

Future<int> getCountAll()

Implementation

Future<int> getCountAll() async {
  final totalCountExpression = countAll();
  final query = db.selectOnly(db.footballPlayer)
    ..addColumns([totalCountExpression]);
  final row = await query.getSingle();
  return row.read(totalCountExpression) ?? 0;
}