Skip to content

monolayer-pg / schema / PgTime

Class: PgTime

Extends

  • PgColumn<string, string>

Methods

default()

default(value): PgTime & WithDefaultColumn

Parameters

ParameterType
valuestring | Expression<unknown>

Returns

PgTime & WithDefaultColumn

Inherited from

PgColumn.default


notNull()

notNull(): PgTime & NonNullableColumn

Adds a not null constraint to the column.

The column is not allowed to contain null values.

Returns

PgTime & NonNullableColumn

See

PostgreSQL Docs: Not-Null Constraints

Inherited from

PgColumn.notNull