AggregateTrait
Table of Contents
Methods
-
avg()
: string|null
-
count()
: int|null
-
max()
: string|null
-
min()
: string|null
-
sum()
: string|null
avg()
public
avg(string $column, array<string|int, mixed>|null $where) : string|null
Parameters
-
$column
: string
-
-
$where
: array<string|int, mixed>|null
-
-
see
-
Porm::avg()
Return values
string|null
count()
public
count([string|null $column = null ][, array<string|int, mixed>|null $where = null ]) : int|null
Parameters
-
$column
: string|null
= null
-
-
$where
: array<string|int, mixed>|null
= null
-
-
see
-
Porm::count()
max()
public
max(string $column, array<string|int, mixed>|null $where) : string|null
Parameters
-
$column
: string
-
-
$where
: array<string|int, mixed>|null
-
-
see
-
Porm::max()
Return values
string|null
min()
public
min(string $column, array<string|int, mixed>|null $where) : string|null
Parameters
-
$column
: string
-
-
$where
: array<string|int, mixed>|null
-
-
see
-
Porm::min()
Return values
string|null
sum()
public
sum(string $column, array<string|int, mixed>|null $where) : string|null
Parameters
-
$column
: string
-
-
$where
: array<string|int, mixed>|null
-
-
see
-
Porm::sum()
Return values
string|null