(self)
| 71 | await self.close() |
| 72 | |
| 73 | async def db_delete(self) -> None: |
| 74 | await self.create_connection(with_db=False) |
| 75 | try: |
| 76 | await self.execute_script(f'DROP USER "{self.database}" CASCADE') |
| 77 | except pyodbc.Error as e: |
| 78 | if "does not exist" not in str(e): |
| 79 | raise |
| 80 | await self.close() |
| 81 | |
| 82 | @translate_exceptions |
| 83 | async def execute_script(self, query: str) -> None: |
nothing calls this directly
no test coverage detected