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.Types

Description

Default instances for PostgresType family.

Synopsis

Documentation

type family PostgresType (a :: Symbol) Source #

Mapping from PostgreSQL types to Haskell types.

Instances

type PostgresType "bigint" Source # 
type PostgresType "bigint" = Int
type PostgresType "character varying" Source # 
type PostgresType "character varying" = Text
type PostgresType "timestamp with time zone" Source # 
type PostgresType "timestamp with time zone" = UTCTime
type PostgresType "timestamptz" Source # 
type PostgresType "timestamptz" = UTCTime
type PostgresType "varchar" Source # 
type PostgresType "varchar" = Text
type PostgresType "void" Source # 
type PostgresType "void" = ()