mirror of
https://github.com/strapi/strapi.git
synced 2025-11-11 15:49:50 +00:00
use entries instead of values
Signed-off-by: Pierre Noël <petersg83@gmail.com>
This commit is contained in:
parent
48b138e81c
commit
a45d50aa58
@ -266,8 +266,8 @@ Only select entries matching the publication state provided.
|
|||||||
|
|
||||||
Handled states are:
|
Handled states are:
|
||||||
|
|
||||||
- `live`: Return only published values (default)
|
- `live`: Return only published entries (default)
|
||||||
- `preview`: Return both draft & published entries
|
- `preview`: Return both draft entries & published entries
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|||||||
@ -240,8 +240,8 @@ You can also apply different parameters to the query to make more complex querie
|
|||||||
|
|
||||||
Handled states are:
|
Handled states are:
|
||||||
|
|
||||||
- `LIVE`: Return only published values (default)
|
- `live`: Return only published entries (default)
|
||||||
- `PREVIEW`: Return both draft & published entries
|
- `preview`: Return both draft entries & published entries
|
||||||
|
|
||||||
- `<field>:asc` or `<field>:desc`
|
- `<field>:asc` or `<field>:desc`
|
||||||
- `where` (object): Define the filters to apply in the query.
|
- `where` (object): Define the filters to apply in the query.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user