I think I got it... I had to modify the line:

var dstid = p[j].getRecord().field('DestRID');

to this:

var dstid = p[j].getRecord().field('DestRID').getRecord().field('@rid');

Which got it to work.

I'm still curious to know if there's a way in the query itself to just get 
the record id as a text string rather than the full entry. 

-William


On Wednesday, December 7, 2016 at 4:47:39 AM UTC-7, alessand...@gmail.com 
wrote:
>
> Hi ,
>
> have you a small dataset to reproduce quickly the problem ?
>
> Alessandro
>

-- 

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