aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/DB/QueryBuilder/IFunctionBuilder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/DB/QueryBuilder/IFunctionBuilder.php')
-rw-r--r--lib/public/DB/QueryBuilder/IFunctionBuilder.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php
index e04a4cbfdba..466a1c4ddf4 100644
--- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php
+++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php
@@ -62,10 +62,11 @@ interface IFunctionBuilder {
*
* @param string|ILiteral|IParameter|IQueryFunction $expr The expression to group
* @param string|null $separator The separator
+ * @param string|null $orderBy Optional SQL expression (and direction) to order the grouped rows by.
* @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