sucheta
( Sucheta)
1
Hi,
I am unable to figure out the relationship based on this query -
MATCH (n)-[r]->(m) WHERE n.name="connparams" return r
Whereas, when i run this query -
MATCH (n) RETURN n, id(n)
i get output -
Please guide. I want to figure out the relationship of the node.
Benoit
(Benoit Simard)
2
Do you have a result with this query : MATCH (n)-[r]->(m) WHERE id(n)=7433 RETURN n,r,m
?
sucheta
( Sucheta)
3
Sorry ...no ... there is no output .
What to do ? I want to obtain the relationship
Benoit
(Benoit Simard)
4
And stupid question : are you sure that this node has some outgoing relationships ?
If you run this query 'MATCH (n)--(m) WHERE id(n)=7433 RETURN n,m` in the browser, what do you have ?
sucheta
( Sucheta)
5
But then .. i have network here with all the nodes and relationships acquired using the Neovis -
sucheta
( Sucheta)
7
Thanks Benoit.
I figured out the query -
MATCH (n) - [r] -() WHERE n.name = "connectcab" return type(r)
or
MATCH (n) - [r] -() WHERE n.name = "connectcab" return distinct type(r)