apoc.systemdb.execute

过程 Apoc 扩展

签名

apoc.systemdb.execute(DDL commands, either a string or a list of strings :: ANY?, params = {} :: MAP?) :: (row :: MAP?)

输入参数

名称 类型 默认

DDL 命令,可以是字符串或字符串列表

ANY?

null

params

MAP?

{}

输出参数

名称 类型

row

MAP?

使用示例

CALL apoc.systemdb.execute("SHOW DATABASES");
表 1. 结果
row

{default: TRUE, address: "localhost:7687", role: "standalone", currentStatus: "online", name: "neo4j", error: "", requestedStatus: "online"}

{default: FALSE, address: "localhost:7687", role: "standalone", currentStatus: "online", name: "system", error: "", requestedStatus: "online"}

© . This site is unofficial and not affiliated with Neo4j, Inc.