Skip to content

monolayer-pg / schema / PgReal

Class: PgReal

Extends

  • PgColumn<number, number | bigint | string>

Methods

default()

default(value): PgReal & WithDefaultColumn

Parameters

ParameterType
valuestring | number | bigint | Expression<unknown>

Returns

PgReal & WithDefaultColumn

Inherited from

PgColumn.default


notNull()

notNull(): PgReal & NonNullableColumn

Adds a not null constraint to the column.

The column is not allowed to contain null values.

Returns

PgReal & NonNullableColumn

See

PostgreSQL Docs: Not-Null Constraints

Inherited from

PgColumn.notNull