Skip to content

Commit 22d943c

Browse files
authored
Fixed #816 - PostgreSQL SQL formatter breaking concatentation || by adding a space between the pipes
1 parent d5f59c3 commit 22d943c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dev/impl/DevToys/Helpers/SqlFormatter/Core/Tokenizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Tokenizer(
5353
string[] specialWordChars,
5454
string[]? operators = null)
5555
{
56-
var operatorsParam = new List<string> { "<>", "<=", ">=" };
56+
var operatorsParam = new List<string> { "<>", "<=", ">=", "&&", "||", "!=" };
5757
if (operators is not null)
5858
{
5959
operatorsParam.AddRange(operators);

0 commit comments

Comments
 (0)