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