Skip to main content

DdlColumn

Defined in: js-api/src/entities/data-connection.ts:423

Column definition for DdlBuilder.createTable / alterTable(...).addColumn. type is a dg type (string, int, bigint, float, bool, datetime) mapped to the provider's native type server-side.

Properties

PropertyTypeDescriptionDefined in
defaultValue?stringAlways a string; typed by type and embedded as an escaped literal (DDL cannot bind parameters).js-api/src/entities/data-connection.ts:431
namestring-js-api/src/entities/data-connection.ts:424
nullable?booleanDefaults to true.js-api/src/entities/data-connection.ts:428
typestringDg type: string, int, bigint, float, bool, datetime.js-api/src/entities/data-connection.ts:426