官术网_书友最值得收藏!

Relationship types

Relationship types achieve something similar to what you do with node labels, but with relationships. The purpose of doing so, however, is mostly very different. Relationship types are mandatory properties of relationships (every relationship must have one and only one type--two nodes can be linked by several relations) and will be used during complex, deep traversals across the graph, when only certain kinds of paths from node to node are deemed important by a specific query.

This should give you a good understanding of the basic data model that we will be using during the remainder of this book. Neo4j implements a very well-documented version of the property graph database, and as we will see later, is well-suited for a wide variety of different use cases. Let's explore the reasons for using a graph database like Neo4j a bit more before proceeding.

主站蜘蛛池模板: 龙井市| 乌拉特中旗| 炉霍县| 玛沁县| 西乡县| 黄平县| 彭泽县| 永登县| 武平县| 宜良县| 德安县| 县级市| 扎兰屯市| 田阳县| 达日县| 德令哈市| 徐汇区| 绿春县| 桦甸市| 安陆市| 德格县| 聂拉木县| 临江市| 南召县| 绥棱县| 瑞金市| 星子县| 龙井市| 策勒县| 惠水县| 岳阳市| 枞阳县| 阳高县| 镇沅| 大邑县| 长葛市| 七台河市| 留坝县| 永宁县| 洪湖市| 根河市|