opaleye-0.4.2.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell98

Opaleye.Internal.Sql

Synopsis

Documentation

data Join Source

Constructors

Join 

Instances

data Values Source

Constructors

Values 

Fields

vAttrs :: SelectAttrs
 
vValues :: [[SqlExpr]]
 

Instances

data Binary Source

Constructors

Binary 

Fields

bOp :: BinOp
 
bSelect1 :: Select
 
bSelect2 :: Select
 

Instances

data JoinType Source

Constructors

LeftJoin 

Instances

data BinOp Source

Constructors

Except 
Union 
UnionAll 

Instances

data Returning a Source

Constructors

Returning a (NonEmpty SqlExpr) 

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

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