PostgreSQLDataType enum Null safety

Supported data types.

Inheritance

Constants

bigInteger → const PostgreSQLDataType

Must be an int (8-byte integer)

const PostgreSQLDataType(3)
bigSerial → const PostgreSQLDataType

Must be an int (autoincrementing 8-byte integer)

const PostgreSQLDataType(5)
boolean → const PostgreSQLDataType

Must be a bool

const PostgreSQLDataType(8)
byteArray → const PostgreSQLDataType

Must be a List of int.

Each element of the list must fit into a byte (0-255).

const PostgreSQLDataType(16)
date → const PostgreSQLDataType

Must be a DateTime (contains year, month and day only)

const PostgreSQLDataType(13)
double → const PostgreSQLDataType

Must be a double (64-bit floating point value)

const PostgreSQLDataType(7)
doubleArray → const PostgreSQLDataType

Must be a List<double>

const PostgreSQLDataType(22)
integer → const PostgreSQLDataType

Must be an int (4-byte integer)

const PostgreSQLDataType(1)
integerArray → const PostgreSQLDataType

Must be a List<int>

const PostgreSQLDataType(20)
interval → const PostgreSQLDataType

Must be a Duration

const PostgreSQLDataType(11)
json → const PostgreSQLDataType

Must be encodable via json.encode.

Values will be encoded via json.encode before being sent to the database.

const PostgreSQLDataType(15)
jsonb → const PostgreSQLDataType

Must be encodable via json.encode.

Values will be encoded via json.encode before being sent to the database.

const PostgreSQLDataType(14)
jsonbArray → const PostgreSQLDataType

Must be a List of encodable objects

const PostgreSQLDataType(24)
name → const PostgreSQLDataType

Must be a String

Used for internal pg structure names

const PostgreSQLDataType(17)
numeric → const PostgreSQLDataType

Must be a List<int>

const PostgreSQLDataType(12)
point → const PostgreSQLDataType

Must be a PgPoint

const PostgreSQLDataType(19)
real → const PostgreSQLDataType

Must be a double (32-bit floating point value)

const PostgreSQLDataType(6)
serial → const PostgreSQLDataType

Must be an int (autoincrementing 4-byte integer)

const PostgreSQLDataType(4)
smallInteger → const PostgreSQLDataType

Must be an int (2-byte integer)

const PostgreSQLDataType(2)
text → const PostgreSQLDataType

Must be a String.

const PostgreSQLDataType(0)
textArray → const PostgreSQLDataType

Must be a List<String>

const PostgreSQLDataType(21)
timestampWithoutTimezone → const PostgreSQLDataType

Must be a DateTime (microsecond date and time precision)

const PostgreSQLDataType(9)
timestampWithTimezone → const PostgreSQLDataType

Must be a DateTime (microsecond date and time precision)

const PostgreSQLDataType(10)
uuid → const PostgreSQLDataType

Must be a String.

Must contain 32 hexadecimal characters. May contain any number of '-' characters. When returned from database, format will be xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

const PostgreSQLDataType(18)
values → const List<PostgreSQLDataType>

A constant List of the values in this enum, in order of their declaration.

const List<PostgreSQLDataType>
varChar → const PostgreSQLDataType

Must be a String

const PostgreSQLDataType(23)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited