Yoast\WP\Lib
ORM::group_by_expr() public Yoast 1.0
Adds an unquoted expression to the list of columns to GROUP BY.
{} Это метод класса: ORM{}
Хуков нет.
Возвращает
ORM.
Использование
$ORM = new ORM(); $ORM->group_by_expr( $expr );
- $expr(строка) (обязательный)
- The expression.
Код ORM::group_by_expr() ORM::group by expr Yoast 15.9.1
public function group_by_expr( $expr ) {
$this->group_by[] = $expr;
return $this;
}