@@ -21,40 +21,22 @@ class Query {
21
21
_addQuery(attribute, 'notEqual', value);
22
22
23
23
/// 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.
28
24
static String lessThan(String attribute, dynamic value) =>
29
25
_addQuery(attribute, 'lessThan', value);
30
26
31
27
/// 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.
36
28
static String lessThanEqual(String attribute, dynamic value) =>
37
29
_addQuery(attribute, 'lessThanEqual', value);
38
30
39
31
/// 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.
44
32
static String greaterThan(String attribute, dynamic value) =>
45
33
_addQuery(attribute, 'greaterThan', value);
46
34
47
35
/// 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.
52
36
static String greaterThanEqual(String attribute, dynamic value) =>
53
37
_addQuery(attribute, 'greaterThanEqual', value);
54
38
55
39
/// Filter resources where by searching [attribute] for [value].
56
- ///
57
- /// A fulltext index on [attribute] is required for this query to work.
58
40
static String search(String attribute, String value) =>
59
41
_addQuery(attribute, 'search', value);
60
42
0 commit comments