Re: [orientdb] help query edge

2015-02-11 Thread Luigi Dell'Aquila
Or better, with clean graph notation: select outV().name as ownerName, color, inV().name as carName from owner Luigi 2015-02-11 9:45 GMT+01:00 Luigi Dell'Aquila : > Hi Renzo, > > the first query should be something like > > select expand(inE('owner')[color ='red'].outV()) from car where name =

Re: [orientdb] help query edge

2015-02-11 Thread Luigi Dell'Aquila
Hi Renzo, the first query should be something like select expand(inE('owner')[color ='red'].outV()) from car where name = 'Ferrari' The second one is just select out.name as ownerName, color, in.name as carName from owner Luigi 2015-02-10 22:08 GMT+01:00 Renzo Ludeña : > >

[orientdb] help query edge

2015-02-10 Thread Renzo Ludeña
Hello friends I need your help I have little time using orientdb and love :), according to the image each edge has a different property that is the color for example user1 -> owner