【发布时间】:2018-03-14 00:04:10
【问题描述】:
我正在使用 Gremlin Python,最新版本在 pip,在 OSX 上用于 AWS Neptune 上托管的数据库。
我想使用以前遍历过的边中的值。
示例优于 10 行解释。
g.V(2).outE().values('stop_timestamp').store('stop_ts').inV().outE().where(has('start_ts', between('stop_ts', end_ts)))
我想使用stop_ts 值(只是一个Int)并在between 语句中使用它。
目前我只有这样的错误:
gremlin_python.driver.protocol.GremlinServerError: 597: Exception processing a script on request
我认为不可能使用以前遍历过的边缘的值,这很遗憾,但我需要确认。
编辑:似乎neq & eq 不会崩溃,但between、gte、lte 不会崩溃(因为between 只是翻译成gte 和lte)
【问题讨论】:
标签: python gremlin amazon-neptune