(self)
| 53 | return self._connection.execute(query, kwargs) |
| 54 | |
| 55 | def _ensure_database_setup(self): |
| 56 | # We are setting journal mode to off because there is no guarantee |
| 57 | # the user has permissions to write temporary files to where the |
| 58 | # CLI is installed and in-practice, the index is only ever read from |
| 59 | # (except when we need to generate it). |
| 60 | self.execute(self._JOURNAL_MODE_OFF) |
| 61 | |
| 62 | def _get_index_filename(self): |
| 63 | if os.path.isfile(INDEX_FILE): |