ArangoDB: (1 plot with multiple boundary definitions) Vs (1 edge definition per plot)

I was wondering if there was any advantage to defining multiple edges in a single Vs plot having multiple plots with one edge definition.

Thanks for the help,

+7
nosql graph-databases arangodb
source share
1 answer

There are various reasons for using multiple edge definitions instead of one:

  • To show differences in content: you can have different rib collections for bought and watched . It is also possible using a tag, however, and comes down to personal preference.
  • Boundary definitions allow you to restrict collections to in and out . Thus, you can, for example, say that your bought transitions always begin in a document for the people collection and go to the product collection. Otherwise, you would need to do this inside your application.
+8
source share

All Articles