Orientdb as a document-graph database

会有一股神秘感。 提交于 2019-12-06 10:30:49

Every time you work with OrientDB Graph API, you can always accessing to the underlying Document Database API, so you can mix usage of both. For example you can embed a document inside a Vertex...

The difference between document and graph is just a matter of modelling relation ships. Here you can see a detailed presentation. In short: if you use the document model you have direct relations between documents (vertexes), This means you can not store properties on the edge. If you use the graph model your relationships between documents (vertex) are going over a third edge-document where you store your edge-properties on. For me the big benefit of OrientDB is its ability to model documents using inheritance (for vertex and edges as well).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!