当我在Tinkerpop中使用path时,我尝试用as()和where(neq())忽略路径上的几个顶点。
g.V().out().out().as('a').out().where(neq('a')).path()但是,我仍然不能忽略顶点'a‘。有没有什么办法可以忽略路径上的特定顶点?
发布于 2019-11-19 01:11:39
这个查询应该可以,尽管用例非常模糊:
g.V().out().out().as('a').out().path()
.map(unfold().where(neq('a')).fold())https://stackoverflow.com/questions/58908530
复制相似问题