diff options
author | Robin Appelman <robin@icewind.nl> | 2018-06-14 15:32:22 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-06-14 15:32:22 +0300 |
commit | 3047ef31bd8b667cd6d95e133f5968a6822ff279 (patch) | |
tree | d07fbfcaca98477f0b6f68a7d95f5f2e0448dc2e /lib/public/DB | |
parent | cd87a40eb3a2b7026dfd1822e6e43e131edd3423 (diff) |
Add count to function builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/DB')
-rw-r--r-- | lib/public/DB/QueryBuilder/IFunctionBuilder.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php index e0e331c0807..51b639028ce 100644 --- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php +++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php @@ -96,4 +96,12 @@ interface IFunctionBuilder { * @since 14.0.0 */ public function subtract($x, $y); + + /** + * @param mixed $input The input to be counted + * + * @return IQueryFunction + * @since 14.0.0 + */ + public function count($input); } |