MatheusFarias03 opened a new issue, #387:
URL: https://github.com/apache/age/issues/387
Hi! I was reading the AGE documentation about the DELETE clause and saw some
examples there. One of these examples stated that, to delete a single vertex,
the following query must be typed:
```sql
SELECT *
FROM cypher('graph_name', $$
MATCH (v:Useless)
DELETE v
$$) as (v agtype);
```
But then, right after this example, it shows how to delete all vertices and
edges and it is written that "Running a Match clause will collect all nodes".
The example to delete all nodes was:
```sql
SELECT *
FROM cypher('graph_name', $$
MATCH (v:Useless)
DETACH DELETE v
$$) as (v agtype);
```
So, in the "Deleting a single vertex" example, since it is using the Match
clause, wouldn't it also delete all vertices?
--
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]