Hi, I had the same problem with parent.query().direction(Direction.OUT).has("name", "child name").vertices().iterator();
You can use this command Iterable<Vertex> it=g.command(new OSQLSynchQuery<Vertex>("select from (select expand(out()) from "+parent.getId()+") where name='child name'")).execute(); Regards, 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.