Skip to content

monolayer / schema / PgDoublePrecision

Class: PgDoublePrecision

Extends

  • PgColumn<string, number | bigint | string>

Methods

default()

default(value): PgDoublePrecision & WithDefaultColumn

Parameters

ParameterType
valuestring | number | bigint | Expression<unknown>

Returns

PgDoublePrecision & WithDefaultColumn

Inherited from

PgColumn.default


notNull()

notNull(): PgDoublePrecision & NonNullableColumn

Adds a not null constraint to the column.

The column is not allowed to contain null values.

Returns

PgDoublePrecision & NonNullableColumn

See

PostgreSQL Docs: Not-Null Constraints

Inherited from

PgColumn.notNull