Pregunta

I'm currently working on a REST API wrapper for Neo4j written in node.js.

Why does the REST API return labels of nodes that are removed? Can I get all labels of existing nodes?

Code can be found at: https://github.com/Stofkn/node-neo4j (main.js method listAllLabels)

¿Fue útil?

Solución

Labels are part of the database metainformation. They will not be cleaned when the node is removed.

Those labels are also attached to other kinds of meta-info, like indexes etc.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top