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

Orville.PostgreSQL.Expr.Math

Description

Since: 1.0.0.0

Synopsis

Documentation

plus :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL + to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

minus :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL - to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

multiply :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL * to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

divide :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL / to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

modulo :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL % to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

exponentiate :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL ^ to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

bitwiseAnd :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL & to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

bitwiseOr :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL | to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

bitwiseXor :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL # to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

bitwiseShiftLeft :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL << to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0

bitwiseShiftRight :: ValueExpression -> ValueExpression -> ValueExpression Source #

Apply a SQL >> to the ValueExpressions. It is left to the caller to ensure that the operator makes sense with the arguments being passed.

Since: 1.0.0.0