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

Orville.PostgreSQL.Expr.DataType

Description

Since: 1.0.0.0

Synopsis

Documentation

data DataType Source #

Type to represent any SQL data type expression. E.G.

INTEGER

DataType 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 DataType Source #

Since: 1.0.0.0

Instance details

Defined in Orville.PostgreSQL.Expr.DataType

timestampWithZone :: DataType Source #

A DataType that represents the PostgreSQL "TIMESTAMP with time zone" data type.

See postgresql documentation for more information.

Since: 1.0.0.0

timestampWithoutZone :: DataType Source #

A DataType that represents the PostgreSQL "TIMESTAMP without time zone" data type.

See postgresql documentation for more information.

Since: 1.0.0.0

date :: DataType Source #

A DataType that represents the PostgreSQL DATE data type.

See postgresql documentation for more information.

Since: 1.0.0.0

tsvector :: DataType Source #

A DataType that represents the PostgreSQL TSVECTOR data type.

See postgresql documentation for more information.

Since: 1.0.0.0

varchar :: Int32 -> DataType Source #

A DataType that represents the PostgreSQL "VARCHAR(n)" data type.

See postgresql documentation for more information.

Since: 1.0.0.0

char :: Int32 -> DataType Source #

A DataType that represents the PostgreSQL "CHAR(n)" data type.

See postgresql documentation for more information.

Since: 1.0.0.0

text :: DataType Source #

A DataType that represents the PostgreSQL TEXT data type.

See postgresql documentation for more information.

Since: 1.0.0.0

uuid :: DataType Source #

A DataType that represents the PostgreSQL UUID data type.

See postgresql documentation for more information.

Since: 1.0.0.0

boolean :: DataType Source #

A DataType that represents the PostgreSQL BOOLEAN data type.

See postgresql documentation for more information.

Since: 1.0.0.0

doublePrecision :: DataType Source #

A DataType that represents the PostgreSQL "DOUBLE PRECISION" data type.

See postgresql documentation for more information.

Since: 1.0.0.0

bigSerial :: DataType Source #

A DataType that represents the PostgreSQL BIGSERIAL data type.

See postgresql documentation for more information.

Since: 1.0.0.0

bigInt :: DataType Source #

A DataType that represents the PostgreSQL BIGINT data type.

See postgresql documentation for more information.

Since: 1.0.0.0

serial :: DataType Source #

A DataType that represents the PostgreSQL SERIAL data type.

See postgresql documentation for more information.

Since: 1.0.0.0

int :: DataType Source #

A DataType that represents the PostgreSQL INT data type.

See postgresql documentation for more information.

Since: 1.0.0.0

smallint :: DataType Source #

A DataType that represents the PostgreSQL SMALLINT data type.

See postgresql documentation for more information.

Since: 1.0.0.0

jsonb :: DataType Source #

A DataType that represents the PostgreSQL JSONB data type.

See postgresql documentation for more information.

Since: 1.0.0.0

oid :: DataType Source #

A DataType that represents the PostgreSQL OID data type.

See postgresql documentation for more information.

Since: 1.0.0.0