Skip to main content

DdlColumn

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

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:462
namestring-js-api/src/entities/data-connection.ts:455
nullable?booleanDefaults to true.js-api/src/entities/data-connection.ts:459
typestringDg type: string, int, bigint, float, bool, datetime.js-api/src/entities/data-connection.ts:457