From ac209cea52e81ac07a520a867da4c6906b640df7 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 25 Oct 2019 16:55:08 +0200 Subject: add count() as shortcut for count('*') in FunctionBuilder Signed-off-by: Robin Appelman --- lib/public/DB/QueryBuilder/IFunctionBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public/DB') diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php index 066be470150..861a576914a 100644 --- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php +++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php @@ -104,7 +104,7 @@ interface IFunctionBuilder { * @return IQueryFunction * @since 14.0.0 */ - public function count($count, $alias = ''); + public function count($count = '', $alias = ''); /** * Takes the maximum of all rows in a column -- cgit v1.2.3