Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
data TableIdentifier Source
Unit | |
BaseTable TableIdentifier [(Symbol, PrimExpr)] | |
Product (NonEmpty PrimQuery) [PrimExpr] | |
Aggregate [(Symbol, (Maybe AggrOp, PrimExpr))] PrimQuery | |
Order [OrderExpr] PrimQuery | |
Limit LimitOp PrimQuery | |
Join JoinType PrimExpr PrimQuery PrimQuery | |
Values [Symbol] [[PrimExpr]] | |
Binary BinOp [(Symbol, (PrimExpr, PrimExpr))] (PrimQuery, PrimQuery) |
type PrimQueryFold p = (p, TableIdentifier -> [(Symbol, PrimExpr)] -> p, NonEmpty p -> [PrimExpr] -> p, [(Symbol, (Maybe AggrOp, PrimExpr))] -> p -> p, [OrderExpr] -> p -> p, LimitOp -> p -> p, JoinType -> PrimExpr -> p -> p -> p, [Symbol] -> [[PrimExpr]] -> p, BinOp -> [(Symbol, (PrimExpr, PrimExpr))] -> (p, p) -> p) Source
foldPrimQuery :: PrimQueryFold p -> PrimQuery -> p Source