Hi,

I have code running on 1.7-SNAPSHOT that looks something like this:

ORecordId relVertexId = some-valid-id; //fetched from an index

OrientVertex newVertex = tenantGraph.addVertex(...);

newVertex.addEdge("Some", relVertexId); // <- problem area :)


This does not work since addEdge() does not support ORecordId.

Currently I'm using getVertex(relVertexId) to get the OrientVertex instance 
to use with addEdge() but I wonder if there is a better way that does not 
require me to fetch the vertex.

Regards,
  -Stefán

-- 

--- 
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/groups/opt_out.

Reply via email to