clickhouse plugin - initial import

This commit is contained in:
SPRINX0\prochazka
2024-09-10 14:29:51 +02:00
parent d75f533b76
commit f2d29f97dc
17 changed files with 407 additions and 2 deletions

View File

@@ -66,10 +66,10 @@ class Analyser extends DatabaseAnalyser {
super(pool, driver, version);
}
createQuery(resFileName, typeFields) {
createQuery(resFileName, typeFields, replacements = {}) {
let res = sql[resFileName];
res = res.replace('#DATABASE#', this.pool._database_name);
return super.createQuery(res, typeFields);
return super.createQuery(res, typeFields, replacements);
}
getRequestedViewNames(allViewNames) {