Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-23-2021 05:57 PM
I can't follow the example with the 3 nodes and 3 relationships. What is the result for n.id? Is the answer n = 1 for id = 6? If so then I think I get it. Was I suppose to learn cypher before I started the training? I thought that I would pick up cypher in the Neo4j training.
07-23-2021 07:52 PM
HI @stephen
This is the example with the 3 nodes and 3 relationships.
CREATE (n:SomeNode)-[:REL]->(:SomeNode)-[:REL]->(:SomeNode)-[:REL]->(n)
What is the result for n.id? Is the answer n = 1 for id = 6?
I think "n = 1 and id for nodes = 3" is correct.
You can see two counts in the red circle on the left.
First count is 3 for Nodes.
Next count is 3 for Relationships.
I used id(n) instead of n.id, is that the correct way to handle the question?
07-26-2021 04:30 PM
Thank you Koji, it make a little more sense now.
All the sessions of the conference are now available online