mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-15 14:53:28 +03:00
Add document of class method.
This commit is contained in:
parent
441bf8f81c
commit
85b4f603d3
@ -56,6 +56,7 @@ stringExprSQL = ('\'':) . (++ "'") . escapeStringToSqlExpr
|
||||
|
||||
-- | Interface for constant SQL expression.
|
||||
class ShowConstantSQL a where
|
||||
-- | Make constant SQL expression 'String' from Haskell type 'a'.
|
||||
showConstantSQL :: a -> String
|
||||
|
||||
-- | Constant SQL expression of 'Int16'.
|
||||
|
Loading…
Reference in New Issue
Block a user