public final class SchemaOperation:
Immutable provider schema operation contained in a SchemaPlan.
Operations expose their rendered command for inspection and auditing. User values are never embedded in schema commands; all identifiers originate from validated mapping metadata.
print(operation.description) print(operation.command)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | commandcommand as String |
Provider command, such as one SQL DDL statement. |
| public readonly property | descriptiondescription as String |
Human-readable operation description. |
| public readonly property | destructivedestructive as Boolean |
Whether applying the operation may destroy data or structures. |
| public readonly property | entityTypeentityType as Type |
Entity whose physical structure is affected. |
| public readonly property | executableexecutable as Boolean |
Whether the selected provider can execute this operation directly. |
| public readonly property | kindkind as SchemaOperationKind |
Canonical operation category. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SchemaOperationSchemaOperation(
kind as SchemaOperationKind,
entityType as Type,
description as String,
command as String,
destructive as Boolean = false,
executable as Boolean = true
): |
Creates one immutable schema operation. |