Gremlin 小精灵';除';用法似乎不起作用
我正在尝试查找除某些特定顶点之外的顶点,但下面的查询不起作用:Gremlin 小精灵';除';用法似乎不起作用,gremlin,titan,Gremlin,Titan,我正在尝试查找除某些特定顶点之外的顶点,但下面的查询不起作用: g.V() .has('someId') .except([g.V().has('someId').has('some_other_filter')]) 我在其中提供查询的“except”的用法是否不正确 谢谢您需要: 如果不将except中的内容转储到列表中,实际上只是将管道传递到except,该管道不会对顶点求值为true g.V() .has('someId') .except(g.V().has('someId').ha
g.V()
.has('someId')
.except([g.V().has('someId').has('some_other_filter')])
我在其中提供查询的“except”的用法是否不正确
谢谢您需要:
如果不将except
中的内容转储到列表中,实际上只是将管道传递到except
,该管道不会对顶点求值为true
g.V()
.has('someId')
.except(g.V().has('someId').has('some_other_filter').toList())