We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b037225 commit 8adbdfdCopy full SHA for 8adbdfd
src/ORM/Query/AST/Functions/StringAgg.php
@@ -44,7 +44,7 @@ public function parseFunction(Parser $parser): void
44
public function getFunctionSql(SqlWalker $sqlWalker): string
45
{
46
return sprintf('STRING_AGG(%s%s, %s)',
47
- $this->distinct ? 'DISTINCT' : '',
+ $this->distinct ? 'DISTINCT ' : '',
48
$this->expr->dispatch($sqlWalker),
49
$this->delimiter->dispatch($sqlWalker)
50
);
0 commit comments