Copyright | Flipstone Technology Partners 2023 |
---|---|
License | MIT |
Stability | Stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Since: 1.0.0.0
Synopsis
- data OffsetExpr
- offsetExpr :: Int -> OffsetExpr
Documentation
data OffsetExpr Source #
Type to represent a SQL offset expression. E.G.
OFFSET 10
OffsetExpr
provides a SqlExpression
instance. See
unsafeSqlExpression
for how to construct a value with your own custom
SQL.
Since: 1.0.0.0
Instances
SqlExpression OffsetExpr Source # | Since: 1.0.0.0 |
Defined in Orville.PostgreSQL.Expr.OffsetExpr toRawSql :: OffsetExpr -> RawSql Source # unsafeFromRawSql :: RawSql -> OffsetExpr Source # |
offsetExpr :: Int -> OffsetExpr Source #
Create an OffsetExpr
for the given Int
. This ensures that the input value is used
as a parameter in the generated SQL.
Since: 1.0.0.0