Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- unsafePgFormatTime :: ISO8601 t => Name -> t -> Field c
- literalColumn :: forall a. IsSqlType a => Literal -> Field a
- castToType :: Name -> String -> Field_ n c
- strictDecodeUtf8 :: ByteString -> String
- lazyDecodeUtf8 :: ByteString -> String
- sqlTypeWithSchema :: String -> String -> String
- class IsSqlType sqlType where
- showSqlType :: proxy sqlType -> String
Documentation
strictDecodeUtf8 :: ByteString -> String Source #
lazyDecodeUtf8 :: ByteString -> String Source #
sqlTypeWithSchema :: String -> String -> String Source #
Render the name of a type with a schema
> putStrLn (sqlTypeWithSchema "my_schema" "my_type") "my_schema"."my_type"
instanceIsSqlType
SqlMyTypeWithSchema whereshowSqlType
= \_ -> sqlTypeWithSchema "my_schema" "my_type"
class IsSqlType sqlType where Source #
showSqlType :: proxy sqlType -> String Source #