Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-27-2019 09:14 AM
CREATE (Friends_List:Friend {title:'Friends_List', tagline:'Welcome to the Real World'})
CREATE (Ahmed:Friend {name:'Ahmed Ali', born:1964})
CREATE (Asim:Friend {name:'Asim Ashraf', born:1967})
CREATE
(Ahmed)-[:FRIENDS_WITH {roles:['Asim']}]->(Friends_List),
(Asim)-[:FRIENDS_WITH {roles:['Kazi']}]->(Friends_List);
this is my code i am using sandbox and i am new to it
so i wanted it to be shown as graph , but it is not showing i am only getting this message
Added 3 labels, created 3 nodes, set 8 properties, created 2 relationships, completed after 12 ms.
means my program is write but it is not showing graph , like the example..
I also try the match and then return but can't seems to understand it ..
need help about graph
01-27-2019 10:52 AM
you need to use return
, see https://neo4j.com/docs/cypher-manual/current/clauses/return/
01-28-2019 10:50 PM
Or run after the CREATE:
MATCH (n)-->(m) RETURN n,m
Best if you take the online course to get quickly up to speed:
All the sessions of the conference are now available online