Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal.Data.Basic.Sql.Types
Contents
Documentation
data QuerySegment Source #
Constructors
QuerySegment Query [Action] |
data Comparison Source #
Constructors
LessThan | |
LessOrEqual | |
GreaterThan | |
GreaterOrEqual | |
Equal | |
NotEqual |
Instances
newtype SqlFunctionName Source #
Constructors
SqlFunctionName Text |
data AggregateFunction Source #
Instances
data SqlValueExp Source #
Constructors
SimpleName QualifiedField | |
SqlFunctionApplication SqlFunctionName SqlValueExp | |
SqlLiteral Action | |
AggregateFunction AggregateFunction SqlValueExp |
Instances
Constructors
SelectEverything | |
SelectExpressions [SqlValueExp] |
Constructors
sToQuery :: StringConv a ByteString => a -> QuerySegment Source #
actionToQuery :: Action -> QuerySegment Source #
limitToQuery :: Limit -> QuerySegment Source #
groupToQuery :: Grouping -> QuerySegment Source #
listToTuple :: [QuerySegment] -> QuerySegment Source #
sqlExpToQuery :: SqlExp -> QuerySegment Source #
data SomeFromRowProxy Source #
Constructors
FromRow a => SomeFromRowProxy (Proxy a) |