Skip to content

monolayer-pg / schema / PgXML

Class: PgXML

Extends

  • StringColumn

Methods

default()

default(value): PgXML & WithDefaultColumn

Parameters

ParameterType
valuestring | Expression<unknown>

Returns

PgXML & WithDefaultColumn

Inherited from

StringColumn.default


notNull()

notNull(): PgXML & NonNullableColumn

Adds a not null constraint to the column.

The column is not allowed to contain null values.

Returns

PgXML & NonNullableColumn

See

PostgreSQL Docs: Not-Null Constraints

Inherited from

StringColumn.notNull