Skip to content

Commit

Permalink
label_join unexcepted interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
yincongcyincong committed Jun 26, 2024
1 parent 722606c commit 7725772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/querybuilder/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function labelJoinRenderer(model: QueryBuilderOperation, def: QueryBuilderOperat
throw 'The separator must be a string';
}
const separator = `"${model.params[1]}"`;
return `${model.id}(${innerExpr}, "${model.params[0]}", ${separator}, "${model.params.slice(2).join(separator)}")`;
return `${model.id}(${innerExpr}, "${model.params[0]}", ${separator}, "${model.params.slice(2).join(`", "`)}")`;
}

function labelJoinAddOperationHandler<T extends QueryWithOperations>(def: QueryBuilderOperationDef, query: T) {
Expand Down

0 comments on commit 7725772

Please sign in to comment.