orville-postgresql-1.0.0.0: A Haskell library for PostgreSQL
CopyrightFlipstone Technology Partners 2023
LicenseMIT
StabilityStable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Orville.PostgreSQL.Expr.OffsetExpr

Description

Since: 1.0.0.0

Synopsis

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

Instances details
SqlExpression OffsetExpr Source #

Since: 1.0.0.0

Instance details

Defined in Orville.PostgreSQL.Expr.OffsetExpr

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