PgTypes class final
Provides custom types to enable the use of Postgres-specific types in drift databases.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
bigIntArray
→ const CustomSqlType<
List< int> > - A postgres array of int values, with each element being a 64bit integer.
-
booleanArray
→ const CustomSqlType<
List< bool> > - A postgres array of bool values.
-
date
→ const CustomSqlType<
PgDate> -
The
date
type in Postgres. -
doubleArray
→ const CustomSqlType<
List< double> > - A postgres array of double values.
-
interval
→ const CustomSqlType<
Interval> -
The
interval
type in Postgres. -
json
→ const CustomSqlType<
Object> -
The
json
type in Postgres. -
jsonb
→ const CustomSqlType<
Object> -
The
jsonb
type in Postgres. -
jsonbArray
→ const CustomSqlType<
List< Object?> > - A postgres array of JSON values, encoded as binary values.
-
point
→ const CustomSqlType<
Point> -
The
point
type in Postgres. -
textArray
→ const CustomSqlType<
List< String> > - A postgres array of String values.
-
timestampNoTimezone
→ const CustomSqlType<
PgDateTime> -
The
timestamp without time zone
type in Postgres. -
timestampWithTimezone
→ const CustomSqlType<
PgDateTime> -
The
timestamp with time zone
type in Postgres. -
uuid
→ const CustomSqlType<
UuidValue> -
The
UUID
type in Postgres.