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