apoc.cypher.runSchema
Procedure
apoc.cypher.runSchema(statement String, params Map<String, Any>)
- runs the given 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 FOR (w:Test) REQUIRE w.baz IS UNIQUE',{})
Was this page helpful?