Hi Arpit. Try this function:
Iterable<Vertex> v = g.command(new OSQLSynchQuery<Vertex>("select name,
$depth from (traverse out('link') from (select from node where name= 'A')
while $depth<=3)")).execute();
Bye,
Giulia
--
---
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.
