Added more drops
This commit is contained in:
parent
f02c881fd3
commit
8f6f4c249a
1 changed files with 7 additions and 1 deletions
|
|
@ -1018,7 +1018,13 @@ class PGGraphStorage(BaseGraphStorage):
|
|||
self, node_label: str, max_depth: int = 5
|
||||
) -> KnowledgeGraph:
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
async def drop(self) -> None:
|
||||
"""Drop the storage"""
|
||||
drop_sql = SQL_TEMPLATES["drop_vdb_entity"]
|
||||
await self.db.execute(drop_sql)
|
||||
drop_sql = SQL_TEMPLATES["drop_vdb_relation"]
|
||||
await self.db.execute(drop_sql)
|
||||
|
||||
NAMESPACE_TABLE_MAP = {
|
||||
NameSpace.KV_STORE_FULL_DOCS: "LIGHTRAG_DOC_FULL",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue