postgresql-simple-bind-0.4.1: 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.Common

Description

Common functions and types.

Synopsis

Documentation

unwrapRow :: [Only a] -> a Source #

Remove list and Only constructors.

unwrapColumn :: [Only a] -> [a] Source #

Remove Only constructor.

data PostgresBindOptions Source #

Options that specify how to construct the function binding.

Constructors

PostgresBindOptions 

Fields

data ReturnType Source #

How to interpret results of function execution.

Constructors

AsRow 
AsField