File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ class UserController extends Controller
60
60
* gt (greater)
61
61
* le (lower or equal)
62
62
* lt (lower)
63
+ * in (expects a comma separated array as value)
64
+ * notin (expects a comma separated array as value)
63
65
* null
64
66
* notnull,
65
67
* like
@@ -88,6 +90,10 @@ Matches all users whos' birthdays are today
88
90
89
91
` .../users?filter[birthday]=today `
90
92
93
+ Get all users with name Rob and Bob
94
+
95
+ ` .../users?filter[name]=in:Rob,Bob `
96
+
91
97
Limit and sorting.
92
98
Matches the top 10 users with age of 21 or older sorted by name in ascending order
93
99
@@ -101,7 +107,12 @@ Filter for a base64 encoded value
101
107
102
108
` .../model?filter[field]=lt:{{b64(MjAxNy0wNy0yMiAyMzo1OTo1OQ==)}} `
103
109
110
+ ### New in v1.5
104
111
112
+ Added in and notin:
113
+ ```
114
+ .../model?filter[state]=in:draft,deleted
115
+ ```
105
116
106
117
### New in v1.4.1
107
118
You can’t perform that action at this time.
0 commit comments