Added more drops
This commit is contained in:
@@ -1019,6 +1019,12 @@ class PGGraphStorage(BaseGraphStorage):
|
||||
) -> 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",
|
||||
|
Reference in New Issue
Block a user