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