opaleye-0.6.7004.1: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell2010

Opaleye.Internal.Sql

Synopsis

Documentation

data From Source #

Instances
Show From Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> From -> ShowS #

show :: From -> String #

showList :: [From] -> ShowS #

data Join Source #

Constructors

Join 
Instances
Show Join Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> Join -> ShowS #

show :: Join -> String #

showList :: [Join] -> ShowS #

data Values Source #

Constructors

Values 

Fields

Instances
Show Values Source # 
Instance details

Defined in Opaleye.Internal.Sql

data Binary Source #

Constructors

Binary 

Fields

Instances
Show Binary Source # 
Instance details

Defined in Opaleye.Internal.Sql

data JoinType Source #

Constructors

LeftJoin 
RightJoin 
FullJoin 
Instances
Show JoinType Source # 
Instance details

Defined in Opaleye.Internal.Sql

data BinOp Source #

Instances
Show BinOp Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> BinOp -> ShowS #

show :: BinOp -> String #

showList :: [BinOp] -> ShowS #

data Label Source #

Constructors

Label 

Fields

Instances
Show Label Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

data Returning a Source #

Constructors

Returning a (NonEmpty SqlExpr) 

data Exists Source #

Constructors

Exists 
Instances
Show Exists Source # 
Instance details

Defined in Opaleye.Internal.Sql

empty :: Void -> select Source #

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

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