Frage

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)

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top