SQLSchemaPlan
classin packageklyn.data.sql
public final class SQLSchemaPlan extends SchemaPlan:
└ SQLSchemaPlan

Immutable SQL specialization of a provider-neutral SchemaPlan.

plan = schema.diff() as SQLSchemaPlan
print(plan.sql)
Properties
Modifier and Type Member Description
public readonly property dialectName
dialectName as String
Exact SQL dialect used to render this plan.
public readonly property sql
sql as String:
Ordered SQL DDL script for inspection or external migration tooling.
Inherited Properties
propertyInherited Properties from SchemaPlan: destructive, empty, executable, modelFingerprint, operations, preview, providerName
Constructors
Modifier and Type Member Description
public SQLSchemaPlan
SQLSchemaPlan( dialectName as String, modelFingerprint as String, operations as IList<SchemaOperation> ):
Creates an immutable SQL schema plan.