Hi.
I'd like to run a gremlin query with part of the output being the class of
the tail vertex. I can see how to get the property for filtering, but am
looking for something along the lines of
g.V("@class", "MyClass")
.as("start")
.myid.as("start_id").back(start)
.out("MyEdge").as("tail")
.myid.as("end_id").back("tail")
[email protected]("tail_class")
.transform {it. m -> [m.start_id, m.tail_id, m.tail_class]}
.transform{new com.orientechnologies.orient.core.record.impl.ODocument(it)}
to get a triple of start id, end id and end class (the last transform is
necessary since I'm using this over the binary protocol)
Thanks
-=- Leonid
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.