diff options
author | Vitor Mattos <vitor@php.rio> | 2022-01-14 15:56:47 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-01-21 08:39:39 -0300 |
commit | f071b4dfbbd5fccae9b7b07b9a13ed71ddc91ce4 (patch) | |
tree | 3c9bbf05fd27336ccd763125c36c68e6ee1adf10 /lib/public/DB | |
parent | f7cd9956127be66dfd3141e1f05b6d3cfaceea05 (diff) | |
download | nextcloud-server-f071b4dfbbd5fccae9b7b07b9a13ed71ddc91ce4.tar.gz nextcloud-server-f071b4dfbbd5fccae9b7b07b9a13ed71ddc91ce4.zip |
Fix groupConcat and ordering on Oracle
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/public/DB')
-rw-r--r-- | lib/public/DB/QueryBuilder/IFunctionBuilder.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php index 04c5cbd07bd..9b0c7254250 100644 --- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php +++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php @@ -62,10 +62,11 @@ interface IFunctionBuilder { * * @param string|IQueryFunction $expr The expression to group * @param string|null $separator The separator + * @param string|null $orderBy Option only used to make compatible with Oracle database if is necessary use order. The default value is null and the Oracle don't will respect the order by of query * @return IQueryFunction * @since 24.0.0 */ - public function groupConcat($expr, ?string $separator = ','): IQueryFunction; + public function groupConcat($expr, ?string $separator = ',', ?string $orderBy = null): IQueryFunction; /** * Takes a substring from the input string |