getAll method

FutureOr getAll(
  1. String tableName
)

Implementation

FutureOr getAll(String tableName) async {
  if(query!=''){
    final ResultSet? r = _db?.select('SELECT * FROM $tableName');
    return r;
  }else{
    throw CustomSqlException('Empty data supplied');
  }
}