以下查询对我来说很好
CALL apoc.export.csv.query("MATCH (a:Person)
RETURN a.name AS name", "result.csv", {})
但我想将结果导出到特定目录,例如“测试”目录/neo4j-community-3.2.6/test/result.csv
测试目录存在neo4j-community-3.2.6文件夹中,但是查询
CALL apoc.export.csv.query("
MATCH (a:Person)
RETURN a.name AS name",
"/test/result.csv", {})
给我以下错误:
Neo.ClientError.Procedure.ProcedureCallFailed 调用过程失败
apoc.export.csv.query
: Caused by: java.io.FileNotFoundException: \test\result.csv (系统找不到指定的路径)
任何人都可以帮忙吗?