Skip to content

Commit 34e9f96

Browse files
authored
Update rest.md (feathersjs-ecosystem#1438)
1 parent ecfebd5 commit 34e9f96

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/client/rest.md

+9
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,15 @@ For example, to find the records where field _status_ is not equal to **active**
313313
GET /messages?status[$ne]=active
314314
```
315315

316+
The find API allows the use of $limit, $skip, $sort, and $select in the query. These special parameters can be passed directly inside the query object:
317+
318+
```
319+
// Find all messages that are read, limit to 10, only include text field.
320+
{"read":"1", "$limit":10, "$select": ["name"] } } // JSON
321+
322+
GET /messages?read=1&$limit=10&$select[]=text // HTTP
323+
```
324+
316325
More information about the possible parameters for official database adapters can be found [in the database querying section](../databases/querying.md).
317326

318327
### get

0 commit comments

Comments
 (0)