Let me show you a simple example.
There are 2 nodes, node A and B. There are two paths between them as
follows. The name of the edge is KNOWS.
A ------ O--------B
\ |
\----- O
The following query does not return 2 records containing node B. 1 record
is returned.
traverse both('KNOWS') from (select from user where name='A')
Because of this, the following query does not return 2 paths to get paths.
select $path from (traverse both('KNOWS') from (select from user where name=
'A'))
In neo4j, such query returns all the nodes. It seems distinct is applied to
the result of traverse operations.
My ultimate purpose is to get all the nodes between A and B with this way.
Is there any other alternative to solve it?
--
---
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.