Hi
What is result of
g.v("#21:7").as("person").both("RELATED").loop("person"){it.id.toString() !=
 "#16:10" && it.loops < 4}.has('@class','Name').path()
?


On Tue, Mar 25, 2014 at 6:26 PM, Andrey Yesyev <[email protected]>wrote:

> Okay, now I'm pretty sure there is a bug here.
>
> I changed my queries, instead of checking 'id' value, I'm checking
> property '@class', it works this way.
>
> g.v("#21:7").as("person").both("RELATED").loop("person"){it.object.id !=
> "#16:10" && it.loops < 4}.filter{it.getProperty('@class')=='Name'}.path()
>
> or
>
> g.v("#21:7").as("person").both("RELATED").loop("person"){it.object.id !=
> "#16:10" && it.loops < 4}.has('@class','Name').path()
>
> There is a problem with 'id'.
>
>  --
>
> ---
> 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.
>



-- 
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/d/optout.

Reply via email to