Skip to main content

ScalarMapping

@webda/sql-schema


Interface: ScalarMapping

Defined in: packages/sql-schema/src/columns.ts:12

The column type of a schema property

Properties​

enum?​

optional enum?: string[]

Defined in: packages/sql-schema/src/columns.ts:18


nullable​

nullable: boolean

Defined in: packages/sql-schema/src/columns.ts:17

The schema itself allows null (type: ["string", "null"], anyOf with a null branch)


type​

type: ColumnType

Defined in: packages/sql-schema/src/columns.ts:13