opaleye-0.5.0.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 Label Source

Constructors

Label 

Fields

lLabel :: String
 
lSelect :: Select
 

Instances

data Returning a Source

Constructors

Returning a (NonEmpty SqlExpr) 

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