- Learning Neo4j 3.x(Second Edition)
- Jér?me Baton Rik Van Bruggen
- 185字
- 2021-07-08 09:37:46
Looking for n-ary relationships
Sometimes, you will find that the first reading of your user stories will not yield optimal results. There can be many reasons for this, but this is often because there are some hidden model elements in these stories that we did not spot at first.
One of the cases where we often see this is when dealing with the so-called n-ary relationships. These types of relationships are often hidden in the model when we want to associate more than two things; in some cases, the natural and convenient way to represent certain concepts is to use relations to link a concept to more than just one concept. These relations are called n-ary relations because they can serve more than two (in fact, n) things or concepts. It is a very common modeling pattern.
When we discover these types of relationships in a graph model, this typically means that there's an additional node to discover that we have split out a new entity, as illustrated here:

This is exactly what we have done in the preceding example.
- Progressive Web Apps with React
- INSTANT OpenCV Starter
- What's New in TensorFlow 2.0
- 微信小程序開發解析
- Java編程技術與項目實戰(第2版)
- The Complete Coding Interview Guide in Java
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- MySQL入門很輕松(微課超值版)
- DevOps 精要:業務視角
- 體驗之道:從需求到實踐的用戶體驗實戰
- 青少年Python趣味編程
- C# 10核心技術指南
- R語言編程基礎
- 亮劍C#項目開發案例導航
- Procedural Content Generation for Unity Game Development