hi, This query comes close to what you need, but only show the nodes connected to each other that have valid = 1, starting at node 1 (in my case # 12: 0). To find the shortest path, I think you need to create a specific java function.
select outV().name, inV().name from (select from (traverse * from #12:0 ) where valid = 1) regards, Luigi -- --- 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.
