【发布时间】:2021-06-11 06:20:29
【问题描述】:
输入顶点数未知时如何编写 Gremlin 查询?
场景:
1. Poll -> Already existing vertex.
2. Poll Question -> User might send multiple questions that are unknown and multiple options to the question (unknown list).
我正在使用GremlinPython,它不支持使用AWS Neptune 进行手动交易。如何在单个查询中编写它?
还是切换到 Java?
【问题讨论】:
-
您能否进一步澄清您的问题?我不清楚不知道顶点数与您的“场景”有什么关系。
-
是关于如何将这两个操作作为单个事务执行的问题吗?
-
是的。目前,我正在使用提交脚本:tinkerpop.apache.org/docs/current/reference/…。在 Gremlin-python-variant 的单个请求中寻找解决方案。
标签: aws-lambda transactions gremlin amazon-neptune gremlinpython