We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18224a3 commit beb75dfCopy full SHA for beb75df
packages/cubejs-server-core/core/index.js
@@ -176,7 +176,7 @@ class CubejsServerCore {
176
CubejsServerCore.lookupDriverClass(options.dbType).dialectClass &&
177
CubejsServerCore.lookupDriverClass(options.dbType).dialectClass(),
178
externalDriverFactory: process.env.CUBEJS_EXT_DB_TYPE && (
179
- () => CubejsServerCore.lookupDriverClass(process.env.CUBEJS_DB_EXT_TYPE)({
+ () => new (CubejsServerCore.lookupDriverClass(process.env.CUBEJS_EXT_DB_TYPE))({
180
host: process.env.CUBEJS_EXT_DB_HOST,
181
database: process.env.CUBEJS_EXT_DB_NAME,
182
port: process.env.CUBEJS_EXT_DB_PORT,
0 commit comments