| Copyright | (c) 2016 Al Zohali |
|---|---|
| License | BSD3 |
| Maintainer | Al Zohali <zohl@fmap.me> |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Database.PostgreSQL.Simple.Bind.Utils
Description
Misc auxiliary functions.
- getFunctionDeclaration :: Connection -> String -> IO [String]
- generateBindingsModule :: Connection -> String -> String -> [String] -> IO String
Documentation
getFunctionDeclaration :: Connection -> String -> IO [String] Source #
Fetch function declaration(s) from database.
generateBindingsModule Source #
Arguments
| :: Connection | Database connection |
| -> String | Full path to |
| -> String | Module name |
| -> [String] | Function names to match |
| -> IO String |
Generate module with bindings.