query method

FutureOr query(
  1. String query, {
  2. String? val,
})

Implementation

FutureOr query(String query, {String? val}) async {
  if(query!=''){
    final ResultSet? r = _db?.select(query);
    return r;
  }else{
    throw CustomSqlException('Empty data supplied');
  }
}