how to work with nested data (#13489)

This commit is contained in:
Eron Donevan Powell
2022-05-23 13:17:51 -05:00
committed by GitHub
parent 8a63619362
commit bf752856d0

View File

@@ -29,6 +29,13 @@ Items don't have a pre-defined schema. The format depends completely on how you
in Directus. For the sake of documentation, we'll use a fictional articles collection with the following fields: `id`,
`status`, `title`, `body`, `featured_image`, and `author`.
::: tip Relational Data
Please see [Relational Data](/reference/introduction/#relational-data) and [Field Parameters](/reference/query/#fields)
to learn more.
:::
</div>
<div class="right">
@@ -59,9 +66,9 @@ List all items that exist in Directus.
Supports all [global query parameters](/reference/query).
::: tip Nested Data
::: tip Relational Data
The [Field Parameter](/reference/query/#fields) is required to return nested relational data!
The [Field Parameter](/reference/query/#fields) is required to return nested relational data.
:::
@@ -197,10 +204,10 @@ Supports all [global query parameters](/reference/query).
An array of partial [item objects](#the-item-object).
::: tip Nested Data (Relations)
::: tip Relational Data
Relational data needs to be correctly nested to add new items successfully. Check out the
[relational data section](/reference/introduction/#relational-data) for more information
[relational data section](/reference/introduction/#relational-data) for more information.
:::