@@ -13,22 +13,42 @@ class Query {
13
13
_addQuery(attribute, 'equal', value);
14
14
15
15
/// Filter resources where [attribute] is not equal to [value].
16
+ ///
17
+ /// [value] can be a single value or a list. If a list is used
18
+ /// the query will return resources where [attribute] is equal
19
+ /// to any of the values in the list.
16
20
static String notEqual(String attribute, dynamic value) =>
17
21
_addQuery(attribute, 'notEqual', value);
18
22
19
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.
20
28
static String lessThan(String attribute, dynamic value) =>
21
29
_addQuery(attribute, 'lessThan', value);
22
30
23
31
/// 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.
24
36
static String lessThanEqual(String attribute, dynamic value) =>
25
37
_addQuery(attribute, 'lessThanEqual', value);
26
38
27
39
/// 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.
28
44
static String greaterThan(String attribute, dynamic value) =>
29
45
_addQuery(attribute, 'greaterThan', value);
30
46
31
47
/// 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.
32
52
static String greaterThanEqual(String attribute, dynamic value) =>
33
53
_addQuery(attribute, 'greaterThanEqual', value);
34
54
0 commit comments