Garrett
Garrett

Reputation: 11725

Does it matter which edge is FROM and TO in OrientDB

I'm wondering if in the following example, taken from the wiki, it matters which edge goes in the from section and which goes in the to section

create edge from #10:3 to #11:4

Or is performance the same when traversing either way?

Upvotes: 0

Views: 88

Answers (1)

Lvca
Lvca

Reputation: 9060

Performances are the same for both in and out, so what matters if the meaning of direction for your connection.

The direction is only related to how you traverse them: out() or in().

Upvotes: 2

Related Questions