【发布时间】:2010-07-23 18:48:27
【问题描述】:
当 MySQL 为后端时,我可以这样做,
cursor.execute('show tables')
rows = cursor.fetchall()
for row in rows:
cursor.execute('drop table %s; ' % row[0])
但是当 postgresql 是后端时,我该怎么做呢?
【问题讨论】:
标签: django postgresql