Query.create constructor
Query.create({
- required String? collection,
- required QueryType queryType,
- AccessToken? token,
- Map<
String, dynamic> filters = const <String, dynamic>{}, - Map<
String, dynamic> equals = const <String, dynamic>{}, - Map<
String, dynamic> sorts = const <String, dynamic>{}, - Map<
String, dynamic> notEquals = const <String, dynamic>{}, - Map<
String, dynamic> update = const <String, dynamic>{}, - Map<
String, bool> fileds = const <String, bool>{}, - int? limit = 1000,
- required bool allowAll,
- int? offset = 0,
AllowAll Query
Implementation
Query.create(
{required this.collection,
required this.queryType,
this.token,
this.filters = const <String, dynamic>{},
this.equals = const <String, dynamic>{},
this.sorts = const <String, dynamic>{},
this.notEquals = const <String, dynamic>{},
this.update = const <String, dynamic>{},
this.fileds = const <String, bool>{},
this.limit = 1000,
required this.allowAll,
this.offset = 0})
: operationType = operationTypeFromQueryType(queryType);