dukeofhazardz commented on issue #934: URL: https://github.com/apache/age/issues/934#issuecomment-1555194941
In order to modify nodes that have a particular label, you can use the `MATCH` clause to locate all nodes with that specific label. Following that, you can utilize the `SET` clause to update the properties you desire. Here's an example of your modified: ```MATCH (n:label4) SET n.property = 'value' ``` In this example, all the nodes with the label `label4` will have their new "property" set to the new 'value'. But if you want to update the nodes based on a specific property value, you can use the `MATCH` clause to specify the condition for the property value and then use the `SET` clause to update the desired properties. The updated query will be; ``` MATCH (n:label4) WHERE n.property = 'value' SET n.property = 'value' ``` So only the nodes with label "label4" which meets the `WHERE` condition will have their "property" set to 'value'. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org