Try escaping Oracle single quotes

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/30393/head
Joas Schilling 2 years ago
parent 46ad6fa3c7
commit ecc92067bf
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA

@ -81,7 +81,7 @@ class OCIFunctionBuilder extends FunctionBuilder {
}
if ($separator === '\'') {
$separator = '\\\'';
$separator = '\'\'';
}
return new QueryFunction('LISTAGG(' . $this->helper->quoteColumnName($expr) . ", '$separator')$orderByClause");

Loading…
Cancel
Save