Alright, it seems that your query is returning just the related Resource 
vertices, which is does pretty much what mine does.  What I need is the 
whole API, Version, and Resource for each to form a complete URI to access 
the REST resource.  See the resources themselves are linked together such 
that you can indicate a given Owner resource is related to their Item.  
Then I want to trace back up their individual trees to get the full URI.

Does that explain it better?

If I can't sort this out then I can make the Resource vertices contain the 
entire URI but that would just make a disconnected mob of vertices and if I 
move resources to new API's or new Versions it will be a LOT harder.

Thanks again!



On Thursday, May 19, 2016 at 4:24:03 PM UTC-5, [email protected] wrote:
>
> Hi Chris,
>
> I don't know if I understand what do you want but, try this:
>
> select both('linked_to').name as resource, both('linked_to').both(
> 'linked_to').URL as URL from (traverse linked_to from (select * from 
> Resource where URI='item/1'))
>
> Hope it helps.
>
> Regards,
> Michela
>
>

-- 

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