(clsql-base-sys::signal-no-database-error database))
(unless (is-database-open database)
(database-reconnect database))
+ (when (db-type-has-views? (database-underlying-type database))
+ (dolist (view (list-views :database database))
+ (drop-view view :database database)))
(dolist (table (list-tables :database database))
(drop-table table :database database))
(dolist (index (list-indexes :database database))
(declare (ignore database))
(db-timestring self))
+(defmethod database-output-sql ((self duration) database)
+ (declare (ignore database))
+ (format nil "'~a'" (duration-timestring self)))
+
(defmethod database-output-sql (thing database)
(if (or (null thing)
(eq 'null thing))