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