r8989: v 2.6.11
[clsql.git] / sql / sql.lisp
index 8cf7758263c04133f7a864bca783af375ea40ca5..8227fea896f9b611cfe3fbf377855fff3cbdcc0c 100644 (file)
@@ -217,6 +217,10 @@ condition is true."
   (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))