opaleye-0.6.7003.1: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell2010

Opaleye.Internal.Sql

Synopsis

Documentation

data Select #

Instances
Show Select # 
Instance details

Defined in Opaleye.Internal.Sql

data From #

Instances
Show From # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> From -> ShowS #

show :: From -> String #

showList :: [From] -> ShowS #

data Join #

Constructors

Join 
Instances
Show Join # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> Join -> ShowS #

show :: Join -> String #

showList :: [Join] -> ShowS #

data Values #

Constructors

Values 

Fields

Instances
Show Values # 
Instance details

Defined in Opaleye.Internal.Sql

data Binary #

Constructors

Binary 

Fields

Instances
Show Binary # 
Instance details

Defined in Opaleye.Internal.Sql

data JoinType #

Constructors

LeftJoin 
RightJoin 
FullJoin 
Instances
Show JoinType # 
Instance details

Defined in Opaleye.Internal.Sql

data BinOp #

Instances
Show BinOp # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> BinOp -> ShowS #

show :: BinOp -> String #

showList :: [BinOp] -> ShowS #

data Label #

Constructors

Label 

Fields

Instances
Show Label # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

data Returning a #

Constructors

Returning a (NonEmpty SqlExpr) 

data Exists #

Constructors

Exists 
Instances
Show Exists # 
Instance details

Defined in Opaleye.Internal.Sql

empty :: Void -> select #

ensureColumnsGen :: (SqlExpr -> a) -> [a] -> NonEmpty a #

For ensuring that we have at least one column in a SELECT or RETURNING