sqel-0.0.1.0: Guided derivation for Hasql statements
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sqel.Data.Projection

Documentation

data Projection proj table Source #

Constructors

Projection 

Fields

Instances

Instances details
ToSql (Select (Projection proj table)) Source # 
Instance details

Defined in Sqel.Data.Projection

Methods

toSql :: Select (Projection proj table) -> Sql Source #

Generic (Projection proj table) Source # 
Instance details

Defined in Sqel.Data.Projection

Associated Types

type Rep (Projection proj table) :: Type -> Type #

Methods

from :: Projection proj table -> Rep (Projection proj table) x #

to :: Rep (Projection proj table) x -> Projection proj table #

Show (Projection proj table) Source # 
Instance details

Defined in Sqel.Data.Projection

Methods

showsPrec :: Int -> Projection proj table -> ShowS #

show :: Projection proj table -> String #

showList :: [Projection proj table] -> ShowS #

type Rep (Projection proj table) Source # 
Instance details

Defined in Sqel.Data.Projection

type Rep (Projection proj table) = D1 ('MetaData "Projection" "Sqel.Data.Projection" "sqel-0.0.1.0-5k4czMecwS553bFrfF1Jzu" 'False) (C1 ('MetaCons "Projection" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PgTable proj)) :*: S1 ('MetaSel ('Just "decoder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Row proj))) :*: (S1 ('MetaSel ('Just "encoder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Params proj)) :*: (S1 ('MetaSel ('Just "table") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TableSchema table)) :*: S1 ('MetaSel ('Just "witness") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ProjectionWitness proj table))))))