You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -209,30 +237,6 @@ m| xref::constraints/syntax.adoc[CREATE \| SHOW \| DROP CONSTRAINT]
209
237
| Create, show or drop a constraint.
210
238
|===
211
239
212
-
[[reading-hints]]
213
-
== Hints
214
-
215
-
These comprise clauses used to specify planner hints when tuning a query.
216
-
More details regarding the usage of these -- and query tuning in general -- can be found in xref::indexes/search-performance-indexes/index-hints.adoc[Planner hints and the USING keyword].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clauses/order-by.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
:description: `ORDER BY` is a sub-clause following `RETURN` or `WITH`, and it specifies that the output should be sorted and how.
1
+
:description: `ORDER BY` is a subclause following `RETURN` or `WITH`, and it specifies that the output should be sorted and how.
2
2
3
3
[[query-order]]
4
4
= ORDER BY
5
5
6
6
`ORDER BY` specifies how the output of a clause should be sorted.
7
-
It be used as a sub-clause following `RETURN` or `WITH`.
7
+
It be used as a subclause following `RETURN` or `WITH`.
8
8
9
9
`ORDER BY` relies on comparisons to sort the output, see xref:values-and-types/ordering-equality-comparison.adoc[Ordering and comparison of values].
10
10
You can sort on many different values, e.g. node/relationship properties, the node/relationship ids, or on most expressions.
@@ -233,7 +233,7 @@ If it is an aggregating or `DISTINCT` projection, only the variables available i
233
233
If the projection does not alter the output cardinality (which aggregation and `DISTINCT` do), variables available from before the projecting clause are also available.
234
234
When the projection clause shadows already existing variables, only the new variables are available.
235
235
236
-
It is also not allowed to use aggregating expressions in the `ORDER BY` sub-clause if they are not also listed in the projecting clause.
236
+
It is also not allowed to use aggregating expressions in the `ORDER BY` subclause if they are not also listed in the projecting clause.
237
237
This rule is to make sure that `ORDER BY` does not change the results, only the order of them.
0 commit comments