3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
12 namespace Civi\Api4\Query
;
17 class SqlFunctionMIN
extends SqlFunction
{
19 public $supportsExpansion = TRUE;
21 protected static $category = self
::CATEGORY_AGGREGATE
;
23 protected static function params(): array {
26 'flag_before' => ['DISTINCT' => ts('Distinct')],
27 'must_be' => ['SqlField'],
35 public static function getTitle(): string {
42 public static function getDescription(): string {
43 return ts('The smallest value in the grouping.');