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