Skip to content

Conversation

@ChrisWiitamaki
Copy link

…move brackets around names (schemas, tables, columns, aliases, etc.)

Example: -ab | -addBracketsAroundNames

echo select abc from def where ghi = 1 | SqlFormatter -ab
SELECT [abc]
FROM [def]
WHERE [ghi] = 1

Example: -rb | -removeBracketsAroundNames

echo select [abc] from [def] where [ghi] = 1 | SqlFormatter -rb
SELECT abc
FROM def
WHERE ghi = 1

Chris Wiitamaki added 2 commits August 28, 2019 16:32
Copy link

@AeroXuk AeroXuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggested changes to keep the Command Line reformatter help text correct.

</data>
<data name="InvalidBracketsAroundNamesCombination" xml:space="preserve">
<value>InvalidBracketsAroundNamesCombination!</value>
</data>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to also add after Line 186:

ab  addBracketsAroundNames (predeterminado: falso)
rb  removeBracketsAroundNames (predeterminado: falso)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made requested pull request changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants