[orientdb] Result set of vertices with an empty collection of edges, vertices

2016-01-22 Thread Athanassios Hatzis
Hi, this might be a simple question but I am confused, please help. I am using OrientDB 2.1.9 and I am experimenting with VehicleHistoryGraph database. >From Studio, Browse mode, set limit to 9 records only. Now I am entering this simple query select out() from Person The result set I

Re: [orientdb] Result set of vertices with an empty collection of edges, vertices

2016-01-22 Thread Luigi Dell'Aquila
Hi Athanassios, This is the expected behavior, but you can obtain what your are looking for just adding a filter to the query: select out() from Person where out().size() > 0 Consider that out() is a normal projection, you could have more than one, eg. select name as personName, out() from