Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-20-2019 06:42 AM
removed all Nodes/RelationShips with "detach delete"
now Desktop keeps on showing my original Labels on Database Information, although no Nodes exist
how to get rid of them other than scratching the database ?
Alex
ps apoc.meta.schema() shows the labels, apoc.meta.graph() and apoc.meta.data() does not
05-20-2019 07:24 AM
Hi Alex,
Perhaps you still have an index or constraint on those label(s). In that case the Label would still show up.
David
05-20-2019 07:47 AM
Hi David, that solved it
thought (wrongly) that the detach delete of all nodes would equate to some drop table
Thx, Alex
05-21-2019 02:03 AM
follow up on Property's
call db.propertyKeys() keep showing property's that no longer exist in the database (deleted all constraints, indexes and nodes)
so how to get rid of them ?
Alex
05-21-2019 11:31 AM
@alex.meyers the underlying metadata in Neo4j does not record a counter of number of nodes per property key and as such even if you delete all nodes/relationships there is no way to then remove propertyKeys()... well of course you could create a new database
05-22-2019 06:53 AM
I shoulda anticipated that next question
05-22-2019 07:07 AM
no problem 🙂
coming over from relational world and just learning
All the sessions of the conference are now available online