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