RahimullahShaheen commented on issue #934: URL: https://github.com/apache/age/issues/934#issuecomment-1563759870
Not only you can update the properties for multiple nodes but also you can specify the number of nodes to be changed based on a condition. To achieve this we can use the `MATCH` clause to select nodes with with specific label and to limit the number of nodes that we want the changes to, we will use `LIMIT` clause. Here is how the query will look like ``` MATCH (n:label4) WHERE n.property = 'val' SET n.nproperty = 'new val' LIMIT 5 ``` the above query will change the property of the first 5 nodes to new val which has the label4 and property val. -- 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