-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant Select Updated Node #2
Comments
I cant replace all properties of the node:
|
Many thanks for your comments :-) Updating the attributes of a node with set-statement does not update the node-attribute-index (which is set when creating/merging a new node to the database). The actual attribute does change however, and you can lookup the node using a where-statement like this: For your second issue (replace all properties of the node using set n={id:'a2'}), this is not implemented as I have never had a need for it, but I believe it could be useful. Not sure when I will have the time to fix these things, but I am grateful for your valuable feedback :-) |
Thank you very much for replying. can you please also tell me how to delete a node? Thanks. |
Hello again. Great question. Deleting nodes, relationships or properties is not implemented yet unfortunately. |
I run this query first, it create a node:
CREATE (n:AttributesType {id: 'a'}) return n
then I update it with following query:
now this query is returning 0 nodes, but it should return 1 node:
MATCH (n:AttributesType {id: 'a2'}) RETURN n
The text was updated successfully, but these errors were encountered: