知识库

如何使用 Cypher 确定 Neo4j 的版本和版本类型

如果您想确定正在运行的 Neo4j 实例的版本和版次,可以通过执行以下 Cypher 来实现

call dbms.components() yield name, versions, edition unwind versions as version return name, version, edition;

预期的输出将是

name        | version   | edition
------------|-----------|-----------
Neo4j Kernel¦  3.5.6    ¦enterprise
© . This site is unofficial and not affiliated with Neo4j, Inc.