Is there a way to only create an index if it doesn't already exist to avoid a potential error (when it already exists - or vis-versa)? I'm thinking of something like MERGE INDEX FOR (x:Label) ON (x.foo)
Is there a way to only create an index if it doesn't already exist to avoid a potential error (when it already exists - or vis-versa)? I'm thinking of something like MERGE INDEX FOR (x:Label) ON (x.foo)
see apoc.schema.assert Neo4j APOC Procedures User Guide