Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

alter model statement

Alters an existing model and puts it in context.

Syntax

alter model [ModelName] as
    [name Name]
    [version Version]
    [description Description]

Element Type Optionality Notes
ModelName Model name Optional. If no model name is specified, the model in context is used. If no model is in context, an error occurs. Specifies the existing model to be altered.
Name Expression<Identifier> or Expression<Dictionary<Identifier>> Optional. If no name is specified, the current one is maintained. Specifies the new name of the model.
Version Expression<Version> Optional. If no version is specified, the current one is maintained. Specifies the new version of the model, in version format.
Description Expression<Text> or Expression<Dictionary<Text>> Optional. If no description is specified, the current one is maintained. Specifies the new description of the model.

Returns

The model just altered.

Examples

Intent Code
Alter a model as having a new name alter model MyModel as AnotherModel;
Alter a model to change its version alter model MyModel as version '1.0.3.1';
Alter a model as having a new name and description alter model MyModel as AnotherModel description "This is another model.";

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020