Add ShowConstantSQL instance for Char DB special type.

This commit is contained in:
Kei Hibino 2013-05-16 15:03:45 +09:00
parent dc17e931c0
commit 3ba25c618f

View File

@ -53,6 +53,9 @@ instance ShowConstantSQL ByteString where
instance ShowConstantSQL Text where
showConstantSQL = stringExprSQL . T.unpack
instance ShowConstantSQL Char where
showConstantSQL = stringExprSQL . (:"")
instance ShowConstantSQL Bool where
showConstantSQL = d where
d True = "(0=0)"