Hi everyone, I'm new to OrientDB and  I have two questions:

The first one is: 

using Orient console I'm able to set edges constraint in this way: 
   * create property edge_name.out LINK class_node_name*
can I do the same with javaAPI?

The second one is:

is there a difference between indirect and direct edges?
I have to build a set of friendship edges and I need indirect edges between 
two persons
Es.
*OrientEdge eFriend=g.addEdge("class:friend", ListPerson.get(j), 
ListPerson.get(j+1), null)*;
This is a direct edge FROM person(j) TO person(j+1)
I also need the opposite edge.
Thanks 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to