postgresql-simple-bind-0.3.0.0: FFI-like bindings for PostgreSQL stored functions

Copyright(c) 2016 Al Zohali
LicenseBSD3
MaintainerAl Zohali <zohl@fmap.me>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.Simple.Bind.Utils

Description

Misc auxiliary functions.

Synopsis

Documentation

getFunctionDeclaration :: Connection -> String -> IO [String] Source #

Fetch function declaration(s) from database.

generateBindingsModule Source #

Arguments

:: Connection

Database connection

-> String

Full path to PostgresBindOptions record

-> String

Module name

-> [String]

Function names to match

-> IO String 

Generate module with bindings.