| Copyright | Flipstone Technology Partners 2023 |
|---|---|
| License | MIT |
| Stability | Stable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Orville.PostgreSQL.Expr.Math
Description
Since: 1.0.0.0
Synopsis
- plus :: ValueExpression -> ValueExpression -> ValueExpression
- minus :: ValueExpression -> ValueExpression -> ValueExpression
- multiply :: ValueExpression -> ValueExpression -> ValueExpression
- divide :: ValueExpression -> ValueExpression -> ValueExpression
- modulo :: ValueExpression -> ValueExpression -> ValueExpression
- exponentiate :: ValueExpression -> ValueExpression -> ValueExpression
- bitwiseAnd :: ValueExpression -> ValueExpression -> ValueExpression
- bitwiseOr :: ValueExpression -> ValueExpression -> ValueExpression
- bitwiseXor :: ValueExpression -> ValueExpression -> ValueExpression
- bitwiseShiftLeft :: ValueExpression -> ValueExpression -> ValueExpression
- bitwiseShiftRight :: ValueExpression -> ValueExpression -> ValueExpression
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