Re: [orientdb] Re: select all vertices with no incoming edges

2015-06-11 Thread David de Sousa Seixas
Thanks! quinta-feira, 4 de Junho de 2015 às 11:20:13 UTC+1, Luigi Dell'Aquila escreveu: > > sorry, typo there ;-) > > select from V WHERE in().size() = 0 > > 2015-06-04 12:19 GMT+02:00 Luigi Dell'Aquila >: > >> Hi David, >> >> you can also do this: >> >> select from V were in().size() = 0 >> >>

Re: [orientdb] Re: select all vertices with no incoming edges

2015-06-04 Thread Luigi Dell'Aquila
sorry, typo there ;-) select from V WHERE in().size() = 0 2015-06-04 12:19 GMT+02:00 Luigi Dell'Aquila : > Hi David, > > you can also do this: > > select from V were in().size() = 0 > > 2015-06-03 14:20 GMT+02:00 Giulia Brignoli : > >> Hi David, >> >> try this query: >> >> select from V where @

Re: [orientdb] Re: select all vertices with no incoming edges

2015-06-04 Thread Luigi Dell'Aquila
Hi David, you can also do this: select from V were in().size() = 0 2015-06-03 14:20 GMT+02:00 Giulia Brignoli : > Hi David, > > try this query: > > select from V where @rid not in (select expand(out()) from V) > > in this way you should find all the vertices that have no incoming edges. > > By

[orientdb] Re: select all vertices with no incoming edges

2015-06-03 Thread Giulia Brignoli
Hi David, try this query: select from V where @rid not in (select expand(out()) from V) in this way you should find all the vertices that have no incoming edges. Bye, Giulia Il giorno mercoledì 3 giugno 2015 13:51:03 UTC+2, David de Sousa Seixas ha scritto: hi > > I'm trying to get all ve