Skip to content

Commit 287411b

Browse files
davidlkennedypaveltiunov
authored andcommitted
fix: Added correct string concat for Mysql. (#162)
1 parent f910a56 commit 287411b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cubejs-schema-compiler/adapter/MysqlQuery.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ class MysqlQuery extends BaseQuery {
5656
).join(' UNION ALL ');
5757
return `SELECT TIMESTAMP(dates.f) date_from, TIMESTAMP(dates.t) date_to FROM (${values}) AS dates`;
5858
}
59+
60+
concatStringsSql(strings) {
61+
return `CONCAT(${strings.join(", ")})`;
62+
}
63+
5964
}
6065

6166
module.exports = MysqlQuery;

0 commit comments

Comments
 (0)