Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-28-2022 04:09 AM
I have created schema (graph model) for my Neo4j database using Hacolade, is this schema just for domain knowledge or we can upload this schema to Neo4j and we can apply Hacolade schema validations and restrictions to Neo4j ?
Solved! Go to Solution.
08-01-2022 06:35 AM
Hello @OmarHamdy ,
You can add whatever node labels, relationship types, and properties to your nodes and relationships per your application requirements. You can add constraints to the graph to help control what is valid data (uniqueness and existence). Whatever validations your application requires is up to you. Neo4j does not know anything about Hacolade schema validations.
Elaine
08-01-2022 10:28 AM
Exactly.
Neo4j is a "schemaless" database. The only restrictions are those placed by your application or constraints defined.
Elaine
08-01-2022 06:35 AM
Hello @OmarHamdy ,
You can add whatever node labels, relationship types, and properties to your nodes and relationships per your application requirements. You can add constraints to the graph to help control what is valid data (uniqueness and existence). Whatever validations your application requires is up to you. Neo4j does not know anything about Hacolade schema validations.
Elaine
08-01-2022 09:12 AM
Hello @elaine_rosenber
You mean Neo4j is just dealing with instance model (Data not schema) directly without Node predefinition
for example : I don't need to tell Neo4j that Person Node consists of specific properties , I start creating Node with label person for Omar (for example) and give it all Omar properties with values directly
Right ?
08-01-2022 10:28 AM
Exactly.
Neo4j is a "schemaless" database. The only restrictions are those placed by your application or constraints defined.
Elaine
08-01-2022 11:09 AM
Thank you so much
All the sessions of the conference are now available online