Beginner question/error with reverse edges

So I’ll address the two questions as follows →

Regarding the changes on the schema, 2 quick questions:

  1. The definition of the edge as [uid] (between brackets) is not mandatory if it’s only a one to one relation. If it’s m to n relation then it’ll need to be an array of uid => [uid]
  2. It’s a good practice to name your predicate as objectName.predicate, so that way even if two predicates (of different objects) have the same name they will actually point to two distinct predicates (instead of overlapping on one another).
1 Like