cleishm / libneo4j-client

neo4j-client -- Neo4j Command Line Interface (CLI)
https://neo4j-client.net
Apache License 2.0
155 stars 38 forks source link

Deleting nodes via neo4j_client libraries doesn't work #47

Closed JensWalther closed 4 years ago

JensWalther commented 4 years ago

Hello, I am working on an Ubuntu application, which shall create and delete nodes depending on the local file system content.

I am initializing the connection using _pSession = neo4j_connect(oss.str().c_str(), NULL, NEO4J_INSECURE); running the query Match (n) WHERE id(n) = 193 detach delete n doesn't fail, but also doesn't delete the node.

neo4j_update_counts returns: nodes_created 0 nodes_deleted 0 relationships_created 0 relationships_deleted 0 labels_added 0 labels_removed 0

Running the same command in the browser deletes the node. Is there a configuration / initialization issue?

Thanks a lot for support!

JensWalther commented 4 years ago

Forgot to say that I am able to create nodes and relationships with my configuration, just deleting doesn't work...

JensWalther commented 4 years ago

According to the recommendation I moved the question to stackoverflow