Copyright | Flipstone Technology Partners 2023 |
---|---|
License | MIT |
Stability | Stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Since: 1.0.0.0
Synopsis
- data ReturningExpr
- returningExpr :: SelectList -> ReturningExpr
Documentation
data ReturningExpr Source #
Type to represent a RETURNING
clause in a SQL SELECT
statement. E.G.
RETURNING (id)
ReturningExpr
provides a SqlExpression
instance. See
unsafeSqlExpression
for how to construct a value with your own custom
SQL.
Since: 1.0.0.0
Instances
returningExpr :: SelectList -> ReturningExpr Source #
Constructs a ReturningExpr
that returns the items given in the
SelectList
. Essentialy this retults RETURNING items
.
Since: 1.0.0.0