我试图通过具有一些必需边缘属性的特定边缘类型将所有连接的节点连接到特定节点。为什么这个查询需要这么长时间(约10分钟)?
SELECT inV().@rid as rid, inV().thing1.code as code1,
inV().thing2.code as code2 FROM (
SELECT EXPAND(outE("NamedRelationship")) FROM [#9:6512]
WHERE NOT (relationship_attribute IN ["A", "B", "C"])
)