Open rhinotake opened 2 years ago
@rhinotake
As you said, ||
should be treated as a string concatenation operator on PostgreSQL and CouchBase N1QL.
But, T-SQL seems to use +
as a string concatenation operator.
https://docs.microsoft.com/ja-jp/sql/t-sql/language-elements/string-concatenation-transact-sql?view=sql-server-ver15
I'm going to fix this. Thank you for reporting.
In Dialect.PostgreSql, when using the string concatenation operator (||), extra whitespace is inserted.
If you run
dialectConfig.plusOperators("||")
, no extra whitespace will be inserted.Similar whitespace will be inserted in Dialect.N1ql and Dialect.TSql.
I can't judge whether the response is appropriate, but after applying the following patch,
plusOperators("||")
is no longer needed.