fetching Data & all the relationship

51 views
Skip to first unread message

samrin shaikh

unread,
Aug 28, 2014, 9:03:42 AM8/28/14
to neo4j...@googlegroups.com
HI , 

I am new to Neo4j & Neo4j Client , I am trying to create a generic function in C# which will fetch all the node & relation ship base on the where condition  . Below are my Cypher query for which i need to create a generic function : 

OPTIONAL MATCH (o1:Country)-[has_Branch]-(o2:Branch)-[Has_Branchlocation ]-(o3:LocationDetails) WHERE o1.Name="India"  RETURN o1, collect(o2) AS NumberofOperatingCompany,collect(o3) AS NumberofOperationallocation


Can any 1 help me in create the function for the above cypher query in C#. 



Regards

Samrin  

Chris Skardon

unread,
Aug 28, 2014, 9:31:04 AM8/28/14
to neo4j...@googlegroups.com
Hi, 

Please read the manual at: https://github.com/Readify/Neo4jClient/wiki/cypher
There are some examples (including 'CollectAs') here: https://github.com/Readify/Neo4jClient/wiki/cypher-examples

If neither of those helps - please ask on StackOverflow showing the attempts you have made to solve the problem, i.e. your C# code.

Thanks

Chris


--
You received this message because you are subscribed to the Google Groups "Neo4jClient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4jclient...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages