Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-20-2019 02:48 PM
Please help me model this
Course need some qualification. course sometimes requires any of N qualification. How can I model this scenario?
I was thinking to have a node which can have property "any" or "all" so my model look like
course -----> (any) --------- of N Qualifications
Course ------> (All)---------------> of N Qualifications
01-20-2019 02:53 PM
your idea sounds good, that property could also have a number
otherwise you might model the "required" information on the relationship
(course)-->(requirement:Requirement:All)-[:NEEDS]->(qualification)
(course)-->(requirement:Requirement:Any)-[:NEEDS]->(qualification)
01-21-2019 05:17 PM
Thanks Michael. In your example, Is “Requirement” a node or relationship?
01-21-2019 05:21 PM
Hi there, in Cypher, nodes are always in parenthesis, and relationships are in square brackets.
All the sessions of the conference are now available online