apoc.cypher.runSchema
Procedure APOC Core
apoc.cypher.runSchema(statement, params) yield value - executes query schema statement with the given parameters
Usage Examples
CALL apoc.cypher.runSchema('CREATE INDEX test FOR (w:Test) ON (w.$name)',{})
or
CALL apoc.cypher.runSchema('CREATE CONSTRAINT $name ON (w:Test) ASSERT w.baz IS UNIQUE',{})
Was this page helpful?