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.

Reply via email to