SubQueries in switch case #815
Unanswered
killJoy-03
asked this question in
Q&A
Replies: 3 comments
-
Like in AQL we can do something like this let name = a.prop1 != '' ? first(query1 ) : d.prop2 ? first (query2) : first(query3) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi there. I spoke to the Cypher team about this and they recommended I send you this link. Hope it helps! https://neo4j.com/developer/kb/conditional-cypher-execution/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use for example
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to run subqueries in switch case is it possible? or is there any workaround in a single query
Example:
Beta Was this translation helpful? Give feedback.
All reactions