Skip to content

Documentation / @super-line/core / ColumnSpec

Interface: ColumnSpec

Defined in: packages/core/src/column-plan.ts:28

One schema-derived column. Infra columns (_sl_*) are backend-owned and never appear here.

Properties

kind

kind: ColumnKind

Defined in: packages/core/src/column-plan.ts:30


name

name: string

Defined in: packages/core/src/column-plan.ts:29


nullable

nullable: boolean

Defined in: packages/core/src/column-plan.ts:34

Field may be null. SQL NULL reads back as null (wins over optional).


optional

optional: boolean

Defined in: packages/core/src/column-plan.ts:32

Field may be absent from the validated row. SQL NULL reads back as an omitted field.

Released under the MIT License.