Pergunta

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)

Foi útil?

Solução

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top