Skip to content

Commit c7f6e1a

Browse files
committed
UNION ordering undeprecated
1 parent afeeb5a commit c7f6e1a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,28 @@ label:updated[]
181181
GRANT READ {*} ON GRAPH * FOR (n) WHERE n.createdAt > date('2024-10-25') TO regularUsers
182182
----
183183
| link:{neo4j-docs-base-uri}/operations-manual/{page-version}/authentication-authorization/property-based-access-control/[Property-based access control] now supports xref:values-and-types/spatial.adoc[spatial] and xref:values-and-types/temporal.adoc[temporal] values.
184+
185+
186+
a|
187+
label:functionality[]
188+
label:updated[]
189+
[source, cypher, role="noheader"]
190+
----
191+
RETURN 'val' as one, 'val' as two
192+
UNION
193+
RETURN 'val' as two, 'val' as one
194+
----
195+
196+
[source, cypher, role="noheader"]
197+
----
198+
RETURN 'val' as one, 'val' as two
199+
UNION ALL
200+
RETURN 'val' as two, 'val' as one
201+
----
202+
a|
203+
204+
Using differently ordered return items in a `UNION [ALL]` clause has been un-deprecated.
205+
184206
|===
185207

186208

0 commit comments

Comments
 (0)