monolayer-pg / schema / PgTimestampWithTimeZone
Class: PgTimestampWithTimeZone
Extends
PgColumn
<Date
,Date
|string
>
Methods
default()
default(
value
):PgTimestampWithTimeZone
&WithDefaultColumn
Parameters
Parameter | Type |
---|---|
value | string | Expression <unknown > | Date |
Returns
PgTimestampWithTimeZone
& WithDefaultColumn
Inherited from
PgColumn.default
notNull()
notNull():
PgTimestampWithTimeZone
&NonNullableColumn
Adds a not null constraint to the column.
The column is not allowed to contain null values.
Returns
PgTimestampWithTimeZone
& NonNullableColumn
See
PostgreSQL Docs: Not-Null Constraints
Inherited from
PgColumn.notNull