Yoast\WP\Lib
ORM::avg() public Yoast 1.0
Tells the ORM that you wish to execute a AVG query.
{} Это метод класса: ORM{}
Хуков нет.
Возвращает
float/Число
. The average value of the chosen column.
Использование
$ORM = new ORM(); $ORM->avg( $column );
- $column(строка) (обязательный)
- The table column.
Код ORM::avg() ORM::avg Yoast 16.1.1
public function avg( $column ) {
return $this->call_aggregate_db_function( __FUNCTION__, $column );
}