Description
In the console we get this:
gremlin> v2 = g.V(2).next()
==>v[2]
gremlin> g.V(1).out().inject(v2).values("name")
==>vadas
==>lop
==>vadas
==>josh
From gremlin-python we can see:
>>> v2 = g.V(2).next() >>> g.V(1).out().inject(v2).values("name").toList() [u'lop', u'vadas', u'josh']
and using
withRemote()
in java:
gremlin> v2 = g.V(2).next()
==>v[2]
gremlin> g.V(1).out().inject(v2).values("name")
==>lop
==>vadas
==>josh
Since inject() doesn't re-attach the vertex when values() gets called it acts on a reference vertex with no properties and returns nothing.
Attachments
Issue Links
- links to