mirror of
https://github.com/typicode/json-server.git
synced 2026-03-13 09:35:37 +08:00
docs: document in operator in conditions
This commit is contained in:
@@ -171,12 +171,14 @@ Operators:
|
||||
- `lt` less than, `lte` less than or equal
|
||||
- `gt` greater than, `gte` greater than or equal
|
||||
- `eq` equal, `ne` not equal
|
||||
- `in` included in comma-separated list
|
||||
|
||||
Examples:
|
||||
|
||||
```http
|
||||
GET /posts?views:gt=100
|
||||
GET /posts?title:eq=Hello
|
||||
GET /posts?id:in=1,2,3
|
||||
GET /posts?author.name:eq=typicode
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user