paull8147
Explore posts from serversATApache TinkerPop
•Created by paull8147 on 5/30/2023 in #questions
How to use select with V()
Hello, during my traversal, i found a list of vertex ids, how can i query those vertices in the same traversal without iterating over all vertices and filter them with where ?
g.V()
.group()
.by(T.id)
.by(both().id().fold())
.unfold()
.project("d")
.by(V(select(Column.values)).label())
this is just an illustration, my query is really bigger, but the V(select()) part isn't working, any idea ?
thx
6 replies