You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "Zainab-Saad (via GitHub)" <gi...@apache.org> on 2023/03/03 10:48:52 UTC
[GitHub] [age-website] Zainab-Saad opened a new issue, #137: Update SET clause
Zainab-Saad opened a new issue, #137:
URL: https://github.com/apache/age-website/issues/137
The SET clause documentation says that with SET clause, we can update the labels of nodes but any example is not provided to support that. Besides this, I tried updating the label of the node but that resulted in an error.
--
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-unsubscribe@age.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age-website] dehowef commented on issue #137: Update SET clause
Posted by "dehowef (via GitHub)" <gi...@apache.org>.
dehowef commented on issue #137:
URL: https://github.com/apache/age-website/issues/137#issuecomment-1459695845
Thank you for pointing that out @Zainab-Saad , do you have the console output for where this occurred? I think it would be helpful to see
--
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-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age-website] Zainab-Saad commented on issue #137: Update SET clause
Posted by "Zainab-Saad (via GitHub)" <gi...@apache.org>.
Zainab-Saad commented on issue #137:
URL: https://github.com/apache/age-website/issues/137#issuecomment-1459707219
Sure,
I run the following query:
`SELECT * FROM cypher('graph', $$
MATCH(u) WHERE u.name =~ "Smith.*"
SET labels(u) = "Friend" RETURN u
$$) AS (result agtype);`
The output is:
`ERROR: SET clause expects a variable name
LINE 3: SET labels(u) = "Friend" RETURN u
`
--
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-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org