Skip to content

monolayer / schema / PgTimeWithTimeZone

Class: PgTimeWithTimeZone ​

Extends ​

  • PgColumn<string, string>

Methods ​

default() ​

default(value): PgTimeWithTimeZone & WithDefaultColumn

Parameters ​

ParameterType
valuestring | Expression<unknown>

Returns ​

PgTimeWithTimeZone & WithDefaultColumn

Inherited from ​

PgColumn.default


notNull() ​

notNull(): PgTimeWithTimeZone & NonNullableColumn

Adds a not null constraint to the column.

The column is not allowed to contain null values.

Returns ​

PgTimeWithTimeZone & NonNullableColumn

See ​

PostgreSQL Docs: Not-Null Constraints

Inherited from ​

PgColumn.notNull