mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2025-01-05 20:04:49 +03:00
Add ShowConstantSQL instance for Char DB special type.
This commit is contained in:
parent
dc17e931c0
commit
3ba25c618f
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user