fix: light_server.py fix

This commit is contained in:
hyb
2025-01-26 09:13:11 +08:00
parent 275eebe28a
commit cd5b1dc98f
2 changed files with 8 additions and 7 deletions

View File

@@ -499,11 +499,11 @@ class Neo4JStorage(BaseGraphStorage):
# 方法2兼容旧版本的查询方式
query = """
MATCH (n)
WITH DISTINCT labels(n) AS node_labels
UNWIND node_labels AS label
RETURN DISTINCT label
ORDER BY label
MATCH (n)
WITH DISTINCT labels(n) AS node_labels
UNWIND node_labels AS label
RETURN DISTINCT label
ORDER BY label
"""
result = await session.run(query)