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