Skip to content

Commit 2292a8a

Browse files
Update modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc
1 parent 4f74c7f commit 2292a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ RETURN COLLECT {
201201
} AS x
202202
----
203203

204-
a| Imported variables are now correctly handled as constants inside xref:subqueries/collect.adoc[`COLLECT`], xref:subqueries/count.adoc[`COUNT`], and xref:subqueries/existential.adoc[`EXISTS`] subqueries expressions.
204+
a| Imported variables are now correctly handled as constants inside xref:subqueries/collect.adoc[`COLLECT`], xref:subqueries/count.adoc[`COUNT`], and xref:subqueries/existential.adoc[`EXISTS`] subquery expressions.
205205
The example query previously returned no results (`[]`) because the imported variable was used incorrectly as an implicit grouping key.
206206
It now returns `[1]`, since the variable is not used as a grouping key, allowing `count(*)` to return `0` and `0 + g` to evaluate to `1`.
207207

0 commit comments

Comments
 (0)