| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Beam.Backend.SQL.AST
Description
This module implements an AST type for SQL92. It allows us to realize
the call structure of the builders defined in SQL92
Documentation
Constructors
| SelectCommand Select | |
| InsertCommand Insert | |
| UpdateCommand Update | |
| DeleteCommand Delete |
Constructors
| Select | |
Fields | |
data SelectTable Source #
Constructors
| SelectTable | |
Fields | |
| UnionTables Bool SelectTable SelectTable | |
| IntersectTables Bool SelectTable SelectTable | |
| ExceptTable Bool SelectTable SelectTable | |
Instances
Constructors
| Insert | |
Fields
| |
data InsertValues Source #
Constructors
| InsertValues | |
Fields | |
| InsertSelect | |
Fields | |
Constructors
| Update | |
Fields
| |
Constructors
| Delete | |
Fields | |
Constructors
| QualifiedField Text Text | |
| UnqualifiedField Text |
data ComparatorQuantifier Source #
Constructors
| ComparatorQuantifierAny | |
| ComparatorQuantifierAll |
data ExtractField Source #
Constructors
Instances
Constructors
data SetQuantifier Source #
Constructors
| SetQuantifierAll | |
| SetQuantifierDistinct |
data Expression Source #
Constructors
Instances
newtype Projection Source #
Constructors
| ProjExprs [(Expression, Maybe Text)] |
Constructors
| OrderingAsc Expression | |
| OrderingDesc Expression |
Constructors
| Grouping [Expression] |
data TableSource Source #
Constructors
| TableNamed Text | |
| TableFromSubSelect Select |
Constructors
| FromTable TableSource (Maybe Text) | |
| InnerJoin From From (Maybe Expression) | |
| LeftJoin From From (Maybe Expression) | |
| RightJoin From From (Maybe Expression) | |
| OuterJoin From From (Maybe Expression) |
Instances