Query constructor

Query({
  1. required CloudBaseCore core,
  2. required String coll,
  3. dynamic fieldFilters,
  4. List<QueryOrder>? fieldOrders,
  5. QueryOption? queryOptions,
})

Implementation

Query({
  required CloudBaseCore core,
  required String coll,
  dynamic fieldFilters,
  List<QueryOrder>? fieldOrders,
  QueryOption? queryOptions,
}) {
  _core = core;
  _coll = coll;
  _fieldFilters = fieldFilters;
  _fieldOrders = fieldOrders != null ? fieldOrders : [];
  _queryOptions = queryOptions != null ? queryOptions : QueryOption();
  _request = CloudBaseRequest(_core);
}