| Copyright | Flipstone Technology Partners 2023 |
|---|---|
| License | MIT |
| Stability | Stable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Orville.PostgreSQL.Expr.ReturningExpr
Description
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
| SqlExpression ReturningExpr Source # | |
Defined in Orville.PostgreSQL.Expr.ReturningExpr Methods toRawSql :: ReturningExpr -> RawSql Source # | |
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