【发布时间】:2023-03-29 19:20:01
【问题描述】:
我正在使用 neptune 和 graphql,但出现此错误:
"Server error: {\"detailedMessage\":\"The repeat()-traversal was not defined: RepeatStep(until([NeptuneMemoryTrackerStep, NeptuneHasStep([~label.eq("sample"), ~key.eq(id)])]),emit(true))\",\"code\":\"InternalFailureException\",\"requestId\":\"<id>\"}
这是我的查询:
g
.V(keyId)
.repeat(__.outE('RELATIONSHIP').inV())
.dedup()
.until(__.and(__.hasLabel('sample'),
__.hasKey('id')))
.emit()
.filter(__.label().is('sample'))
.dedup()
.values('id')
.toList();
如何正确重复此查询?
【问题讨论】:
标签: graphql apollo react-apollo graphql-js amazon-neptune