The docs( http://orientdb.com/docs/last/Lightweight-Edges.html ) say,

> so if you already have one edge between two vertices and you're creating a 
> new edge between the same vertices, the second edge will be regular


What 'will be regular' exactly means?
I created lightweight-edges between vertex A and B multiple times, but it 
looks like all lightweight-edges, none of them were regular one. (I'm using 
v2.1.0.)

let A = create vertex A set name = '2';
let B = create vertex B set name = '3';
create edge E from $A to $B;
create edge E from $A to $B;
create edge E from $A to $B;
create edge E from $A to $B;
select from [#20:0, #21:0];  // created vertexes;

----+-----+------+----+--------+--------
#   |@RID |@CLASS|name|out_    |in_
----+------+------+----+--------+--------
0   |#20:0|A     |2   |[size=4]|null
1   |#21:0|B     |3   |null    |[size=4]
----+-----+------+----+--------+--------

*out_: #21:0, #21:0, #21:0, #21:0
*in_:  #20:0, #20:0, #20:0, #20:0

And I'm wondering is there way to make lightweight-edge to be one-to-one 
relationship like LINK?

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to