Re: [orientdb] Re: filter by edge property both ways

2015-03-19 Thread Mihai Pricop
As vitorenesduarte suggested, I found the answer. Yes I should look for edges, filter the edges, than take out the vertices from the edges, like following: select expand( unionAll(inE('knows')[method='friend'].out, outE('knows')[method='friend'].in ) from rid The problem with this query is that

Re: [orientdb] Re: filter by edge property both ways

2015-03-17 Thread Mihai Pricop
I updated the post with an exemplification of what I want. Hope this will clear things out. On Tue, Mar 17, 2015 at 7:16 PM, nagaraja sosale ramaswamy nagud...@gmail.com wrote: it would help if you can provide the actual schema and sample data along with the expected result ~nagu. On

[orientdb] Re: filter by edge property both ways

2015-03-17 Thread nagaraja sosale ramaswamy
it would help if you can provide the actual schema and sample data along with the expected result ~nagu. On Tuesday, March 17, 2015 at 6:58:17 PM UTC+5:30, Mihai Pricop wrote: HI, I am new to OrientDB and I tried to play with it for the last month, but now I started some tasks and bumped