首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不使用步骤转换为gremlin python

不使用步骤转换为gremlin python
EN

Stack Overflow用户
提问于 2021-01-08 16:43:58
回答 1查看 86关注 0票数 0

这真是帮了我大忙。How to increase performance of shortest path using Gremlin?

我想知道如何将这个gremlin查询转换为gremlin-python

代码语言:javascript
复制
g.V(687).store('x').repeat(out().where(without('x')).aggregate('x')).until(hasId(1343)).limit(1).path()

比如..。

代码语言:javascript
复制
g.V(687).store('x').repeat(__.out().where(without('x')).aggregate('x')).until(__.hasId(1343)).limit(1).path()
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-01-08 19:56:17

您应该能够在Python代码中使用P.without

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65625828

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档