I ran the following query to get all the property keys currently in use in my Neo4j database:
MATCH (n)
UNWIND keys(n) AS key
WITH DISTINCT key
RETURN key
ORDER BY key
This query returned all the property keys that are currently being used by nodes in my database. However, I know there is one property key in my database schema that is not being used by any node (I believe it is unused because it does not appear in the query results).
I want to delete this unused property key from the database, but I am unable to do so. Is there a way to remove unused property keys from Neo4j?
Any help would be really Appreciated!