File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cubejs-clickhouse-driver/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
175175 } ,
176176 } ;
177177
178- const maxPoolSize = config . maxPoolSize || getEnv ( "dbMaxPoolSize" , { dataSource } ) || 8 ;
178+ const maxPoolSize = config . maxPoolSize ?? getEnv ( "dbMaxPoolSize" , { dataSource } ) ?? 8 ;
179179
180180 this . client = this . createClient ( maxPoolSize ) ;
181181 }
@@ -433,7 +433,7 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
433433 values : unknown [ ] ,
434434 options : DownloadQueryResultsOptions
435435 ) : Promise < DownloadQueryResultsResult > {
436- if ( ( options || { } ) . streamImport ) {
436+ if ( ( options ?? { } ) . streamImport ) {
437437 return this . stream ( query , values , options ) ;
438438 }
439439
You can’t perform that action at this time.
0 commit comments