File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
modules/ROOT/pages/queries-aggregations Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type Movie {
16
16
}
17
17
----
18
18
19
- The following sorting input type and query should be generated:
19
+ The following sorting input type and query are generated:
20
20
21
21
[source, graphql, indent=0]
22
22
----
@@ -47,7 +47,7 @@ type Query {
47
47
}
48
48
----
49
49
50
- The resulting query should then allow fetching all movies sorted by runtime in ascending order:
50
+ The following query fetches all movies sorted by runtime in ascending order:
51
51
52
52
[source, graphql, indent=0]
53
53
----
@@ -65,7 +65,7 @@ query {
65
65
}
66
66
----
67
67
68
- Additionally, in case there was a relationship between the `Movie` and an `Actor` type, sorting can also be applied when fetching the `actors` field:
68
+ If there is a relationship between the `Movie` and an `Actor` type, you can also sort when fetching the `actors` field:
69
69
70
70
[source, graphql, indent=0]
71
71
----
@@ -85,3 +85,8 @@ query {
85
85
}
86
86
}
87
87
----
88
+
89
+ [CAUTION]
90
+ ====
91
+ You cannot sort query results based on relationship properties.
92
+ ====
You can’t perform that action at this time.
0 commit comments