persistent-postgresql-2.13.4.1: Backend for the persistent library using postgresql.
Safe HaskellNone
LanguageHaskell2010

Database.Persist.Postgresql.Internal

Synopsis

Documentation

newtype P Source #

Newtype used to avoid orphan instances for postgresql-simple classes.

Since: 2.13.2.0

Constructors

P 

Fields

Instances

Instances details
FromField P Source # 
Instance details

Defined in Database.Persist.Postgresql.Internal

ToField P Source # 
Instance details

Defined in Database.Persist.Postgresql.Internal

Methods

toField :: P -> Action #

getGetter :: Oid -> Getter PersistValue Source #

Get the field parser corresponding to the given Oid.

For example, pass in the Oid of bool, and you will get back a field parser which parses boolean values in the table into PersistBools.

Since: 2.13.2.0