opaleye-0.4.0.0: An SQL-generating DSL targeting PostgreSQL
Opaleye.Internal.Sql
data Select Source
Constructors
Instances
data SelectAttrs Source
data From Source
Fields
data Join Source
data Values Source
data Binary Source
data JoinType Source
data BinOp Source
data TableName Source
data Returning a Source
sqlQueryGenerator :: PrimQueryFold Select Source
sql :: ([PrimExpr], PrimQuery, Tag) -> Select Source
unit :: Select Source
baseTable :: String -> [(Symbol, PrimExpr)] -> Select Source
product :: NonEmpty Select -> [PrimExpr] -> Select Source
aggregate :: [(Symbol, (Maybe AggrOp, PrimExpr))] -> Select -> Select Source
aggrExpr :: Maybe AggrOp -> PrimExpr -> PrimExpr Source
order :: [OrderExpr] -> Select -> Select Source
limit_ :: LimitOp -> Select -> Select Source
join :: JoinType -> PrimExpr -> Select -> Select -> Select Source
values :: [Symbol] -> [[PrimExpr]] -> Select Source
binary :: BinOp -> [(Symbol, (PrimExpr, PrimExpr))] -> (Select, Select) -> Select Source
joinType :: JoinType -> JoinType Source
binOp :: BinOp -> BinOp Source
newSelect :: From Source
sqlExpr :: PrimExpr -> SqlExpr Source
sqlBinding :: (Symbol, PrimExpr) -> (SqlExpr, Maybe SqlColumn) Source
ensureColumns :: [(SqlExpr, Maybe a)] -> NonEmpty (SqlExpr, Maybe a) Source