opaleye-0.9.5.1: An SQL-generating DSL targeting PostgreSQL
Safe HaskellSafe-Inferred
LanguageHaskell2010

Opaleye.Internal.Sql

Synopsis

Documentation

data From Source #

Instances

Instances details
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

Instances details
Show Join Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> Join -> ShowS #

show :: Join -> String #

showList :: [Join] -> ShowS #

data Semijoin Source #

Constructors

Semijoin 

Instances

Instances details
Show Semijoin Source # 
Instance details

Defined in Opaleye.Internal.Sql

data Values Source #

Constructors

Values 

Fields

Instances

Instances details
Show Values Source # 
Instance details

Defined in Opaleye.Internal.Sql

data Binary Source #

Constructors

Binary 

Fields

Instances

Instances details
Show Binary Source # 
Instance details

Defined in Opaleye.Internal.Sql

data JoinType Source #

Constructors

LeftJoin 
RightJoin 
FullJoin 

Instances

Instances details
Show JoinType Source # 
Instance details

Defined in Opaleye.Internal.Sql

data SemijoinType Source #

Constructors

Semi 
Anti 

Instances

Instances details
Show SemijoinType Source # 
Instance details

Defined in Opaleye.Internal.Sql

data BinOp Source #

Instances

Instances details
Show BinOp Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> BinOp -> ShowS #

show :: BinOp -> String #

showList :: [BinOp] -> ShowS #

data Lateral Source #

Constructors

Lateral 
NonLateral 

Instances

Instances details
Show Lateral Source # 
Instance details

Defined in Opaleye.Internal.Sql

data LockStrength Source #

Constructors

Update 

Instances

Instances details
Show LockStrength Source # 
Instance details

Defined in Opaleye.Internal.Sql

data Recursive Source #

Constructors

NonRecursive 
Recursive 

Instances

Instances details
Show Recursive Source # 
Instance details

Defined in Opaleye.Internal.Sql

data With Source #

Constructors

With 

Instances

Instances details
Show With Source # 
Instance details

Defined in Opaleye.Internal.Sql

Methods

showsPrec :: Int -> With -> ShowS #

show :: With -> String #

showList :: [With] -> ShowS #

data Label Source #

Constructors

Label 

Fields

Instances

Instances details
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

Instances details
Show Exists Source # 
Instance details

Defined in Opaleye.Internal.Sql

empty :: Void -> select Source #

oneTable :: t -> [(Lateral, t)] Source #

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

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