Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PgTimestamp

class PgTimestamp<T extends ColumnBaseConfig> extends PgColumn<PgTimestampHKT, T> {
constructor(table: AnyPgTable<{
name: T["tableName"];
}
>
, config: PgTimestampBuilder<T>["config"]);
mapFromDriverValue: (value: string) => Date;
mapToDriverValue: (value: Date) => string;
readonly precision: number | undefined;
readonly withTimezone: boolean;
 
getSQLType(): string;
}

§Type Parameters

§Extends

§Constructors

§
new PgTimestamp(table: AnyPgTable<{
name: T["tableName"];
}
>
, config: PgTimestampBuilder<T>["config"])
[src]

§Properties

§
mapFromDriverValue: (value: string) => Date
[src]
§
mapToDriverValue: (value: Date) => string
[src]
§
precision: number | undefined
[src]
§
withTimezone: boolean
[src]

§Methods

§
getSQLType(): string
[src]