talk about this technology, which although recent has already achieved a good percentage of fans. My goal is for you to have a brief (I promise to be quick) vision of how it works.
treat the relationships between data as equally important to the data itself. It is intended to hold data without constricting it to a pre-defined model. Instead, the data is stored like we first draw it out – showing how each individual entity connects with or is related to others. Graph Database?
relate them through primary keys, looking directly at the data, you see only IDs. The banks in graph were born mainly so that this does not happen, its purpose is that you have complete understanding when looking at the data.
natural way of storing the data, without tables, without foreign keys, only two concepts, nodes and relations, each node or relation can have its attributes and labels of identification, a way to categorize the data. How would a diagram represent this? In graph database? Simpler than you think! Just draw! Natural Way
}) CREATE (user2:Person:Teacher { name: "Natalia" }) CREATE (course:Course { title: "Math" }) Now let's relate them. MATCH (s:Student {name:"Natam"}), (t:Teacher {name:"Natalia"}), (c:Course {title:"Math"}) CREATE (s)-[k:KNOWS]->(t), (t)-[ts:TEACHES]->(c), (s)-[e:ENROLLED]->(c) Now that we have our data, we need to consult them, let's do this? MATCH (n) RETURN n