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