projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
APIv4 - Add more SQL functions
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
SqlFunctionAVG.php
diff --git
a/Civi/Api4/Query/SqlFunctionAVG.php
b/Civi/Api4/Query/SqlFunctionAVG.php
index 9a064135e9170a8fdbbe243178f5b4083e82d433..9d9fcdd539ea45c0bbf23a3be16a244a7abadecf 100644
(file)
--- a/
Civi/Api4/Query/SqlFunctionAVG.php
+++ b/
Civi/Api4/Query/SqlFunctionAVG.php
@@
-16,6
+16,8
@@
namespace Civi\Api4\Query;
*/
class SqlFunctionAVG extends SqlFunction {
+ protected static $category = self::CATEGORY_AGGREGATE;
+
protected static $params = [
[
'prefix' => ['', 'DISTINCT', 'ALL'],