Cypher()函数可接受以下参数:
示例代码:
from apache_age import create_engine
# 创建引擎
engine = create_engine(url="agedb://localhost:7001")
# 定义Cypher查询语句和参数绑定字典
cypher_query = "MATCH (n) RETURN n"
param_dict = {}
# 执行Cypher查询
result = engine.execute_cypher(cypher_query, params=param_dict)
# 处理结果
for row in result:
print(row)