postgresql-typed-lifted-0.5.1.1: postgresql-typed operations lifted to any instance of MonadBase or MonadBaseControl.

Copyright© 2017 All rights reserved.
LicenseBSD3
MaintainerEvan Cofsky <evan@theunixman.com>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.Typed.Lifted.Protocol

Description

 

Synopsis

Documentation

data ChunkRows Source #

Instances

Bounded ChunkRows Source # 
Enum ChunkRows Source # 
Eq ChunkRows Source # 
Integral ChunkRows Source # 
Num ChunkRows Source # 
Ord ChunkRows Source # 
Real ChunkRows Source # 
Show ChunkRows Source # 

pgDescribe Source #

Arguments

:: (MonadBaseControl IO m, Traversable f) 
=> PGConnection 
-> RawStatement

SQL string

-> f OID

Optional type specifications

-> Bool

Guess nullability, otherwise assume everything is

-> m ([OID], [(ByteString, OID, Bool)])

a list of parameter types, and a list of result field names, types, and nullability indicators.