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