Skip to content

Commit 01eb3cd

Browse files
UNION ordering undeprecated (neo4j#1113)
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
1 parent 9a713c6 commit 01eb3cd

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
@@ -311,6 +311,28 @@ label:updated[]
311311
GRANT READ {*} ON GRAPH * FOR (n) WHERE n.createdAt > date('2024-10-25') TO regularUsers
312312
----
313313
| 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.
314+
315+
316+
a|
317+
label:functionality[]
318+
label:updated[]
319+
[source, cypher, role="noheader"]
320+
----
321+
RETURN 'val' as one, 'val' as two
322+
UNION
323+
RETURN 'val' as two, 'val' as one
324+
----
325+
326+
[source, cypher, role="noheader"]
327+
----
328+
RETURN 'val' as one, 'val' as two
329+
UNION ALL
330+
RETURN 'val' as two, 'val' as one
331+
----
332+
a|
333+
334+
Using differently ordered return items in a `UNION [ALL]` clause has been un-deprecated.
335+
314336
|===
315337

316338

0 commit comments

Comments
 (0)