How we can drop all index and constraint in neo4j database?

110 Views Asked by At

I want delete all constraints in neo4j in neo4j browser.

Her asked this question, but I cannot find answer that can I do with cypher.

I try this code:

FOREACH (n IN db.indexes() | drop constraints n)

But it did not work.

0

There are 0 best solutions below