<-- previous rule | overview | next rule -->
Standardizes line breaks and indentation of braces around select lists.
- Break before opening brace { of select list: [Always]
- Indent if breaking: [0]
- Break before closing brace } of select list: [Always]
- Indent if breaking: [0]
- Break before FROM (in syntax without braces): [Always]
- Indent if breaking: [2]
define view entity C_AnyEntity
as select from I_AnyEntity as AnyAlias
{
key AnyAlias.AnyKeyField,
AnyAlias.AnyNonKeyField
}
union all
select from I_OtherEntity As OtherAlias {
key OtherAlias.AnyKeyField,
OtherAlias.AnyNonKeyField
}
except
select from I_ThirdEntity As ThirdAlias
{
key ThirdAlias.AnyKeyField,
ThirdAlias.AnyNonKeyField }
Resulting code:
define view entity C_AnyEntity
as select from I_AnyEntity as AnyAlias
{
key AnyAlias.AnyKeyField,
AnyAlias.AnyNonKeyField
}
union all
select from I_OtherEntity As OtherAlias
{
key OtherAlias.AnyKeyField,
OtherAlias.AnyNonKeyField
}
except
select from I_ThirdEntity As ThirdAlias
{
key ThirdAlias.AnyKeyField,
ThirdAlias.AnyNonKeyField
}