Skip to content

Commit 991b8e2

Browse files
Merge pull request #39 from vertical-blank/concat-operator
Add concat operator to standard sql.
2 parents fff8bda + a655860 commit 991b8e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/github/vertical_blank/sqlformatter/languages/StandardSqlFormatter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ public DialectConfig dialectConfig() {
379379
.indexedPlaceholderTypes(Collections.singletonList("?"))
380380
.namedPlaceholderTypes(Collections.emptyList())
381381
.lineCommentTypes(Arrays.asList("--"))
382+
.operators(Collections.singletonList("||"))
382383
.build();
383384
}
384385

0 commit comments

Comments
 (0)