opaleye-0.5.3.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell2010

Opaleye.Internal.Sql

Synopsis

Documentation

data From #

Instances

Show From # 

Methods

showsPrec :: Int -> From -> ShowS #

show :: From -> String #

showList :: [From] -> ShowS #

data Join #

Constructors

Join 

Instances

Show Join # 

Methods

showsPrec :: Int -> Join -> ShowS #

show :: Join -> String #

showList :: [Join] -> ShowS #

data Values #

Constructors

Values 

Fields

Instances

data Binary #

Constructors

Binary 

Fields

Instances

data JoinType #

Constructors

LeftJoin 
RightJoin 
FullJoin 

Instances

data BinOp #

Instances

data Label #

Constructors

Label 

Fields

Instances

data Returning a #

Constructors

Returning a (NonEmpty SqlExpr) 

empty :: Void -> select #

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

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