def _drop_view(self, cursor):
try:
cursor.execute(self._drop_materialized_view_sql())
except ProgrammingError:
try:
cursor.execute(self._drop_view_sql())
except ProgrammingError:
cursor.execute(self._drop_table_sql())
评论列表
文章目录