update delete
This commit is contained in:
parent
000c8ef866
commit
7baa175fbe
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class Node(BaseModel, ABC):
|
|||
case GraphProvider.NEO4J:
|
||||
records, _, _ = await driver.execute_query(
|
||||
"""
|
||||
MATCH (n:Entity|Episodic|Community {uuid: $uuid})-[r]-()
|
||||
MATCH (n:Entity OR n:Episodic OR n:Community {uuid: $uuid})-[r]-()
|
||||
WITH collect(r.uuid) AS edge_uuids, n
|
||||
DETACH DELETE n
|
||||
RETURN edge_uuids
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue