def disable_wal(self):
        "Sets ``journal_mode`` back to ``'delete'`` to disable Write-Ahead Log mode."
        if self.journal_mode != "delete":
            with self.ensure_autocommit_off():
                self.execute("PRAGMA journal_mode=delete;")
Sets ``journal_mode`` back to ``'delete'`` to disable Write-Ahead Log mode.
sqlite_utils/db.py