imranzaheer612 commented on issue #387:
URL: https://github.com/apache/age/issues/387#issuecomment-1353113160
I think it could be like
To delete a single or multiple nodes having no edges we use this
```
SELECT *
FROM cypher('graph_name', $$
MATCH (v:Useless)
DELETE v
$$) as (v agtype);
```
To delete a single or multiple nodes having edges we use this
```
SELECT *
FROM cypher('graph_name', $$
MATCH (v:Useless)
DETACH DELETE v
$$) as (v agtype);
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]