Copyright | Flipstone Technology Partners 2023 |
---|---|
License | MIT |
Stability | Stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Since: 1.0.0.0
Synopsis
- data DataType
- timestampWithZone :: DataType
- timestampWithoutZone :: DataType
- date :: DataType
- tsvector :: DataType
- varchar :: Int32 -> DataType
- char :: Int32 -> DataType
- text :: DataType
- uuid :: DataType
- boolean :: DataType
- doublePrecision :: DataType
- bigSerial :: DataType
- bigInt :: DataType
- serial :: DataType
- int :: DataType
- smallint :: DataType
- jsonb :: DataType
- oid :: DataType
Documentation
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
SqlExpression DataType Source # | Since: 1.0.0.0 |
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
A DataType
that represents the PostgreSQL DATE data type.
See postgresql documentation for more information.
Since: 1.0.0.0
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
A DataType
that represents the PostgreSQL TEXT data type.
See postgresql documentation for more information.
Since: 1.0.0.0
A DataType
that represents the PostgreSQL UUID data type.
See postgresql documentation for more information.
Since: 1.0.0.0
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
A DataType
that represents the PostgreSQL BIGINT data type.
See postgresql documentation for more information.
Since: 1.0.0.0
A DataType
that represents the PostgreSQL SERIAL data type.
See postgresql documentation for more information.
Since: 1.0.0.0
A DataType
that represents the PostgreSQL INT data type.
See postgresql documentation for more information.
Since: 1.0.0.0
A DataType
that represents the PostgreSQL SMALLINT data type.
See postgresql documentation for more information.
Since: 1.0.0.0
A DataType
that represents the PostgreSQL JSONB data type.
See postgresql documentation for more information.
Since: 1.0.0.0