Skip to content

Commit 9146f45

Browse files
committed
Updated README for v1.5
1 parent 19bb968 commit 9146f45

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
9197
Limit and sorting.
9298
Matches 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

0 commit comments

Comments
 (0)