Skip to content

Commit

Permalink
UNION ordering undeprecated (#1113)
Browse files Browse the repository at this point in the history
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
  • Loading branch information
gem-neo4j and JPryce-Aklundh committed Nov 27, 2024
1 parent 9a713c6 commit 01eb3cd
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,28 @@ label:updated[]
GRANT READ {*} ON GRAPH * FOR (n) WHERE n.createdAt > date('2024-10-25') TO regularUsers
----
| 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.


a|
label:functionality[]
label:updated[]
[source, cypher, role="noheader"]
----
RETURN 'val' as one, 'val' as two
UNION
RETURN 'val' as two, 'val' as one
----

[source, cypher, role="noheader"]
----
RETURN 'val' as one, 'val' as two
UNION ALL
RETURN 'val' as two, 'val' as one
----
a|

Using differently ordered return items in a `UNION [ALL]` clause has been un-deprecated.

|===


Expand Down

0 comments on commit 01eb3cd

Please sign in to comment.