ok, understood.

Thank you,
  -Stefán

On Friday, 24 January 2014 13:49:07 UTC, Andrey Lomakin wrote:
>
> Hi Stefan,
> I are very active developer ))
>
> So about your question.
> When you add edges, both vertexes will be fetched and changed any way so 
> usage of rid instead of vertex will not add value in this case. 
>
>
> On Fri, Jan 24, 2014 at 3:18 PM, <[email protected] 
> <javascript:>>wrote:
>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Best regards,
> Andrey Lomakin.
>
> Orient Technologies
> the Company behind OrientDB
>
> 

-- 

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