intersystems / intersystems/isc-codetidy

Indentation of unions in SQL class queries

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
ObjectScript
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The automatic indentation of SQL class queries with UNION statements is a little funky:

```
Query Test() As %SQLQuery [ SqlProc ]
{
select 1
union
select 2
union
select 3
}
```
After compilation, turns into:
```
Query Test() As %SQLQuery [ SqlProc ]
{
select 1
union
select 2
union
select 3
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.