Check if database file exists
(self)
| 25 | self._busy_timeout_ms = 30000 |
| 26 | |
| 27 | def db_exists(self) -> bool: |
| 28 | """Check if database file exists""" |
| 29 | return Path(self.db_path).exists() |
| 30 | |
| 31 | async def _configure_connection(self, db): |
| 32 | """Apply SQLite runtime settings for better concurrent behavior.""" |