Files
dsProject/dsRag/Neo4j/N0_ClearDb.py

6 lines
201 B
Python
Raw Normal View History

2025-08-14 15:45:08 +08:00
from Util.Neo4jExecutor import Neo4jExecutor
if __name__ == '__main__':
executor = Neo4jExecutor.create_default()
executor.graph.run("MATCH (n) DETACH DELETE n")
print("清库成功")