@@ -21,40 +21,22 @@ class Query {
2121 _addQuery(attribute, 'notEqual', value);
2222
2323 /// Filter resources where [attribute] is less than [value].
24- ///
25- /// [value] can be a single value or a list. If a list is used
26- /// the query will return resources where [attribute] is equal
27- /// to any of the values in the list.
2824 static String lessThan(String attribute, dynamic value) =>
2925 _addQuery(attribute, 'lessThan', value);
3026
3127 /// Filter resources where [attribute] is less than or equal to [value].
32- ///
33- /// [value] can be a single value or a list. If a list is used
34- /// the query will return resources where [attribute] is equal
35- /// to any of the values in the list.
3628 static String lessThanEqual(String attribute, dynamic value) =>
3729 _addQuery(attribute, 'lessThanEqual', value);
3830
3931 /// Filter resources where [attribute] is greater than [value].
40- ///
41- /// [value] can be a single value or a list. If a list is used
42- /// the query will return resources where [attribute] is equal
43- /// to any of the values in the list.
4432 static String greaterThan(String attribute, dynamic value) =>
4533 _addQuery(attribute, 'greaterThan', value);
4634
4735 /// Filter resources where [attribute] is greater than or equal to [value].
48- ///
49- /// [value] can be a single value or a list. If a list is used
50- /// the query will return resources where [attribute] is equal
51- /// to any of the values in the list.
5236 static String greaterThanEqual(String attribute, dynamic value) =>
5337 _addQuery(attribute, 'greaterThanEqual', value);
5438
5539 /// Filter resources where by searching [attribute] for [value].
56- ///
57- /// A fulltext index on [attribute] is required for this query to work.
5840 static String search(String attribute, String value) =>
5941 _addQuery(attribute, 'search', value);
6042
0 commit comments