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
6060* gt (greater)
6161* le (lower or equal)
6262* lt (lower)
63+ * in (expects a comma separated array as value)
64+ * notin (expects a comma separated array as value)
6365* null
6466* notnull,
6567* like
@@ -88,6 +90,10 @@ Matches all users whos' birthdays are today
8890
8991` .../users?filter[birthday]=today `
9092
93+ Get all users with name Rob and Bob
94+
95+ ` .../users?filter[name]=in:Rob,Bob `
96+
9197Limit and sorting.
9298Matches the top 10 users with age of 21 or older sorted by name in ascending order
9399
@@ -101,7 +107,12 @@ Filter for a base64 encoded value
101107
102108` .../model?filter[field]=lt:{{b64(MjAxNy0wNy0yMiAyMzo1OTo1OQ==)}} `
103109
110+ ### New in v1.5
104111
112+ Added in and notin:
113+ ```
114+ .../model?filter[state]=in:draft,deleted
115+ ```
105116
106117### New in v1.4.1
107118
You can’t perform that action at this time.
0 commit comments