mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +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:
|
||||
|
||||
- `live`: Return only published values (default)
|
||||
- `preview`: Return both draft & published entries
|
||||
- `live`: Return only published entries (default)
|
||||
- `preview`: Return both draft entries & published entries
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
@ -240,8 +240,8 @@ You can also apply different parameters to the query to make more complex querie
|
||||
|
||||
Handled states are:
|
||||
|
||||
- `LIVE`: Return only published values (default)
|
||||
- `PREVIEW`: Return both draft & published entries
|
||||
- `live`: Return only published entries (default)
|
||||
- `preview`: Return both draft entries & published entries
|
||||
|
||||
- `<field>:asc` or `<field>:desc`
|
||||
- `where` (object): Define the filters to apply in the query.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user