Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-12-2022 11:59 PM
Hi ,
I can see still my node labels even after deletion of my existing nodes please help someone please .refer attched screenshot how to clear all these node
07-13-2022 12:15 AM - edited 07-13-2022 12:18 AM
Hello @simsree9 🙂
It means you have constraints or indexes, you can see them with SHOW INDEXES and SHOW CONSTRAINTS. Here are the queries if you want to delete them:
// Drop an index
DROP INDEX constraint_name IF EXISTS
// Drop a constraint
DROP CONSTRAINT constraint_name IF EXISTS
// You can also use APOC to drop all indexes and constraints in one query
CALL apoc.schema.assert({}, {}, true);
Regards,
Cobra
07-13-2022 12:33 AM
I didn't create any indexes & constraints , please share the steps to reset all node labels
07-13-2022 01:11 AM
Look at my previous post, you have all the queries... You can also use this query in the system database:
// Reset the whole database
CREATE OR REPLACE DATABASE database_name
All the sessions of the conference are now available online