code: def purge(self):
          '''
          Purge whole database.
          '''
          for table_name in self._db.list_tables():
              self._db.flush(table_name)
  
          self._run_init_queries(f purge(self):
          '''
          Purge whole database.
          '''
          for table_name in self._db.list_tables():
              self._db.flush(table_name)
  
          self._run_init_queries()
docs: Purge whole database.