Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
ManaPHP
Mvc
ModelInterface
average
ManaPHP\Mvc\ModelInterface::average PHP Метод
Документация по интерфейсу ModelInterface
Показать файл
Открыть проект
average()
публичный
статический
Метод
Allows to calculate the average value on a column matching the specified conditions
public
static
average
(
string
$column
,
string
|
array
$parameters
= null,
integer
|
array
$cacheOptions
= null ) :
double
$column
string
$parameters
string
|
array
$cacheOptions
integer
|
array
Результат
double
public static function average($column, $parameters = null, $cacheOptions = null);
ModelInterface
assign
average
count
create
delete
deleteAll
exists
find
findAll
findFirst
getChangedFields
getReadConnection
getReadConnectionService
getSnapshotData
getSource
getWriteConnection
getWriteConnectionService
hasChanged
max
min
query
save
setConnectionService
setReadConnectionService
setWriteConnectionService
sum
toArray
update
updateAll