File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " clickhouse-query" ,
3- "version" : " 1.7.3 " ,
3+ "version" : " 1.7.4 " ,
44 "description" : " ClickHouse Query is intuitive query builder to overcome the complexity of ClickHouse SQL syntax." ,
55 "main" : " dist/src/index.js" ,
66 "types" : " dist/src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ export class Query extends FilterableQuery {
210210 if ( hasInnerWithStatement ) {
211211 preparedWithPart = `WITH ${ ( alias ? `${ alias } AS` : '' ) } (${ withPart . generateSql ( ) } )` ;
212212 } else {
213- preparedWithPart = `WITH ${ ( alias ? `${ alias } AS` : '' ) } ${ withPart . generateSql ( ) } ` ;
213+ preparedWithPart = `WITH ${ ( alias ? `${ alias } AS` : '' ) } ( ${ withPart . generateSql ( ) } ) ` ;
214214 }
215215 }
216216 sql = `${ preparedWithPart } ${ sql } ` ;
You can’t perform that action at this time.
0 commit comments