Skip to content

Commit c9e2f5c

Browse files
Copilottypicode
andcommitted
docs: document contains, startsWith, endsWith operators in README
Co-authored-by: typicode <5502029+typicode@users.noreply.github.com>
1 parent 5b50d57 commit c9e2f5c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ Operators:
167167
- `gt` greater than, `gte` greater than or equal
168168
- `eq` equal, `ne` not equal
169169
- `in` included in comma-separated list
170+
- `contains` string contains (case-insensitive)
171+
- `startsWith` string starts with (case-insensitive)
172+
- `endsWith` string ends with (case-insensitive)
170173

171174
Examples:
172175

@@ -175,6 +178,9 @@ GET /posts?views:gt=100
175178
GET /posts?title:eq=Hello
176179
GET /posts?id:in=1,2,3
177180
GET /posts?author.name:eq=typicode
181+
GET /posts?title:contains=hello
182+
GET /posts?title:startsWith=Hello
183+
GET /posts?title:endsWith=world
178184
```
179185

180186
### Sort

0 commit comments

Comments
 (0)