Skip to content

Commit 315c3eb

Browse files
UNION ordering undeprecated (#1113)
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
1 parent 8c0e2eb commit 315c3eb

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
@@ -193,6 +193,28 @@ label:updated[]
193193
GRANT READ {*} ON GRAPH * FOR (n) WHERE n.createdAt > date('2024-10-25') TO regularUsers
194194
----
195195
| 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.
196+
197+
198+
a|
199+
label:functionality[]
200+
label:updated[]
201+
[source, cypher, role="noheader"]
202+
----
203+
RETURN 'val' as one, 'val' as two
204+
UNION
205+
RETURN 'val' as two, 'val' as one
206+
----
207+
208+
[source, cypher, role="noheader"]
209+
----
210+
RETURN 'val' as one, 'val' as two
211+
UNION ALL
212+
RETURN 'val' as two, 'val' as one
213+
----
214+
a|
215+
216+
Using differently ordered return items in a `UNION [ALL]` clause has been un-deprecated.
217+
196218
|===
197219

198220

0 commit comments

Comments
 (0)