fix drop function in Memgraph implementation
This commit is contained in:
parent
eed43e071c
commit
9aaa7d2dd3
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ class MemgraphStorage(BaseGraphStorage):
|
|||
"""
|
||||
try:
|
||||
async with self._driver.session(database=self._DATABASE) as session:
|
||||
query = "DROP GRAPH"
|
||||
query = "MATCH (n) DETACH DELETE n"
|
||||
result = await session.run(query)
|
||||
await result.consume()
|
||||
logger.info(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue