pg-entity-0.0.1.0: A pleasant PostgreSQL layer
Copyright© Clément Delafargue 2018
Théophile Choutri 2021
Koz Ross 2021
LicenseMIT
Maintainertheophile@choutri.eu
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.Entity.Internal.Unsafe

Description

Contains the internals of several key types.

Note

By using these directly, you run the risk of violating internal invariants, or making representational changes in incompatible ways. This API is not stable, and is not subject to the PVP. Use at your own risk

If at all possible, instead use the API provided by Types.

Synopsis

Documentation

data Field Source #

A wrapper for table fields.

Since: 0.0.1.0

Constructors

Field Text (Maybe Text) 

Instances

Instances details
Eq Field Source # 
Instance details

Defined in Database.PostgreSQL.Entity.Internal.Unsafe

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Show Field Source # 
Instance details

Defined in Database.PostgreSQL.Entity.Internal.Unsafe

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

ForbiddenIsString => IsString Field Source #

Using the Overloaded String syntax for Field names is forbidden.

Instance details

Defined in Database.PostgreSQL.Entity.Internal.Unsafe

Methods

fromString :: String -> Field #