Hi,

Currently working on a prototype so that's why I use JS (and also I am not 
a developer).
I face to a problem: I use API calls to create edges in 2.0 as earlier I 
experienced that SQL creates undirected edges. I am fine with that but 
there is a LinkSet in the edge holding few rowids. It's done by SQL 
execution to add new rid to linkset. It means 2 commit for a single 
operation.

Is there an API to add rid to a linkset?

part of the code:

var g = orient.getGraph();
...
var MyEdge = g.addEdge('class:MyEdge0', oV1, oV2, 'MyEdge');
MyEdge.setProperty('A', varA);
...
g.commit();
g.command("sql", "update " + MyEdge.getIdentity().toString() + " add LS = " 
+ sLSrid, []) ;
g.commit();

Thank you in advance!
L.

-- 

--- 
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