Border Collection vs. Graphics

There is one thing that I do not get in ArangoDB:

What is the difference between rib assembly and graph? When should I choose which one?

+4
source share
2 answers

Graphs in ArangoDB are created on top of documents and edges.

Edge collections have automatic indexes on _fromand _to, which allows you to efficiently retrieve any connected documents. Since the data is still stored in regular (documents and edges) collections, you can also use these collections in non-graphical queries.

(.. , ) . ArangoDB. , "" .

+6

:

{
  "_id": "edges/328701573688",
  "_from": "nodes/150194180348",
  "_to": "nodes/328668871224",
  "_rev": "3680146597",
  "_key": "328701573688",
  "type": "includes"
}

:

{
  "_id": "nodes/328668871224",
  "_rev": "3610088613",
  "_key": "328668871224",
  "name": "Gold-edged Gem",
  "type": "species"
}

, . . , Arango .

, , "", , , _to _from, .

, ... .

+2

All Articles