apoc.systemdb.execute

Procedure Apoc Extended

Signature

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

Input parameters

Name Type Default

DDL commands, either a string or a list of strings

ANY?

null

params

MAP?

{}

Output parameters

Name Type

row

MAP?

Usage Examples

CALL apoc.systemdb.execute("SHOW DATABASES");
Table 1. Results
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"}