Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-11-2020 01:45 AM
Hi
I am trying to create dynamic cypher as string , but facing issue with "<-,<=" .
WITH "MATCH(n)<--(c) WHERE n.age <= 20 return n" AS dynamicCypher RETURN dynamicCypher
OUTPUT: "MATCH(n)
Please help me to get output as "MATCH(n)<--(c) WHERE n.age <= 20 return n"
Thanks
06-11-2020 02:20 AM
06-12-2020 12:16 PM
Hello @narasimha.pps and welcome
This work on my Neo4j Database:
WITH "MATCH(n)<-[]-(c) WHERE n.age <= 20 return n" AS dynamicCypher RETURN dynamicCypher
It returns:
"MATCH (n)<-[]-(c) WHERE n.age <= 20 return n"
Did you get an error?
Regards,
Cobra
06-13-2020 09:54 AM
Hi Cobra,
I am running the same cypher in graphenedb in heroku on neo4j browser ,i am not getting the complete string in output , i am getting only "MATCH(n)"
Thanks
06-13-2020 10:20 AM
Can you send a screenshot of the interface where we can see the query?
Which version of Neo4j Desktop and Neo4j database are you using?
Regards,
Cobra
All the sessions of the conference are now available online