code: def drop_view(self, viewname: str) -> int:
          
          sql = "DROP VIEW IF EXISTS {}".format(viewname)
          log.info("Dropping view " + viewname + " (ignore any warning here)")
          return self.db_exec_literal(sql)
docs: Drops a view.