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

Orville.PostgreSQL.Expr.Count

Description

Since: 1.0.0.0

Synopsis

Documentation

count :: ValueExpression -> ValueExpression Source #

Given a ValueExpression, use it as the argument to the SQL count.

Since: 1.0.0.0

countFunction :: FunctionName Source #

The SQL count function.

Since: 1.0.0.0

count1 :: ValueExpression Source #

The SQL count(1).

Since: 1.0.0.0

countColumn :: ColumnName -> ValueExpression Source #

Use a given column as the argument to the SQL count.

Since: 1.0.0.0