Re: [Neo4j] why g.V[6].both is not returning any thing

2011-11-16 Thread Marko Rodriguez
Hi, ...or it means that g.V[6] isn't connected to anything. Do this: v = g.V[6].next() v.both v.map() That will tell you if the 6th vertex of V is connected and if it has properties. Marko. http://markorodriguez.com On Nov 16, 2011, at 4:28 AM, Peter Neubauer wrote: > Rahul, > this probably

Re: [Neo4j] why g.V[6].both is not returning any thing

2011-11-16 Thread Peter Neubauer
Rahul, this probably is an effect of getting a pipe back, that you explicitly need to empty in order to be able to see anything (try g.V[6] >> -1), which the console and REST endpoints are doing automatically for you. Could you try that? Cheers, /peter neubauer GTalk:      neubauer.peter Skype