Skip to main content

DdlPlan

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

The execution plan of a DDL operation (DdlCommand.dryRun, or riding a DdlConfirmationRequiredError): the exact per-provider SQL plus live-data pre-checks. The apply path always recomputes the plan server-side — an earlier dry run is informational, never trusted.

Properties

PropertyTypeDescriptionDefined in
destructiveDestructiveAction[]Destructive actions that require confirmDestructive: true to proceed.js-api/src/entities/data-connection.ts:417
statementsstring[]The exact SQL statements the operation will run, in order.js-api/src/entities/data-connection.ts:415
transactionalDdl?booleanWhether the provider can roll DDL back on failure (Postgres/MSSQL true; MySQL/Oracle auto-commit DDL, so a failed multi-statement op cannot roll back).js-api/src/entities/data-connection.ts:420