Skip to content

monolayer-pg / schema / PgBigInt

Class: PgBigInt

Extends

  • IdentifiableColumn<string, number | bigint | string>

Methods

default()

default(value): PgBigInt & WithDefaultColumn

Parameters

ParameterType
valuestring | number | bigint | Expression<unknown>

Returns

PgBigInt & WithDefaultColumn

Inherited from

IdentifiableColumn.default


generatedAlwaysAsIdentity()

generatedAlwaysAsIdentity(): PgBigInt & GeneratedAlwaysColumn

Returns

PgBigInt & GeneratedAlwaysColumn

Inherited from

IdentifiableColumn.generatedAlwaysAsIdentity


generatedByDefaultAsIdentity()

generatedByDefaultAsIdentity(): PgBigInt & GeneratedColumn

Returns

PgBigInt & GeneratedColumn

Inherited from

IdentifiableColumn.generatedByDefaultAsIdentity


notNull()

notNull(): PgBigInt & NonNullableColumn

Adds a not null constraint to the column.

The column is not allowed to contain null values.

Returns

PgBigInt & NonNullableColumn

See

PostgreSQL Docs: Not-Null Constraints

Inherited from

IdentifiableColumn.notNull