我正在使用带有 bolt+s 协议的 Neptune 版本 1.0.5.0。
我运行了以下查询: MATCH (n) return n limit 1
with Node.js neo4j latest driver (4.3) 并得到以下错误:
Neo4jError: "Unexpected server exception 'Data type unsupported in Bolt in current release
http://www.w3.org/2001/XMLSchema#dateTime'"
:
at captureStacktrace (result.js:239:17)
at new Result (result.js:59:23)
at Session._run (session.js:165:16)
at Session.run (session.js:131:21)
代码:
const session = db.getSession();
try {
const result = await session.run(query);
...
虽然相同的代码适用于本地 Neo4j 服务器。
此外,运行:“MATCH (n) return n.myprop limit 1”适用于 Neptune。
任何帮助将不胜感激。