Skip to content

Commit

Permalink
Clarify deep query example (#140)
Browse files Browse the repository at this point in the history
Clarify deep example
  • Loading branch information
paescuj authored Jan 27, 2025
1 parent cea5c78 commit 6f71ae3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions content/guides/4.connect/3.query-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,15 @@ const result = await directus.request(
Only get 3 related posts, with only the top rated comment nested:
```json
{
"related_posts": {
"_limit": 3,
"comments": {
"_sort": "rating",
"_limit": 1
"deep": {
"related_posts": {
"_limit": 3,
"comments": {
"_sort": "rating",
"_limit": 1
}
}
}
}
}
```
::
Expand Down

0 comments on commit 6f71ae3

Please sign in to comment.