JTW*_*JTW 2 graph-databases gremlin amazon-neptune gremlinpython
当尝试将我在 Gremlin CLI 中编写和测试的查询转换为 gremlin-python 时,我unexpected token 'as'的表达式遇到错误.as('foo')。as使用 gremlin-python 时如何使用 Gremlin关键字?
unexpected token 'as'
.as('foo')
as
ste*_*tte 5
当 Gremlin 步骤与 Python 保留字冲突时,该步骤会带有下划线后缀,因此as()您会这样做as_()。可以在此处找到所有步骤的完整列表,但目前它们是:
as()
as_()
脚步- and_(),as_(),from_(),is_(),in_(),not_(),or_(),with_()
and_()
from_()
is_()
in_()
not_()
or_()
with_()
代币-Scope.global_
Scope.global_
归档时间:
6 年,9 月 前
查看次数:
1392 次
最近记录: