Yoast\WP\Lib

ORM::having_raw()publicYoast 1.0

Adds a raw HAVING clause to the query. The clause should contain question mark placeholders, which will be bound to the parameters supplied in the second argument.

Метод класса: ORM{}

Хуков нет.

Возвращает

ORM.

Использование

$ORM = new ORM();
$ORM->having_raw( $clause, $parameters );
$clause(строка) (обязательный)
The clause that should contain question mark placeholders.
$parameters(массив)
The parameters to include in the query.
По умолчанию: []

Код ORM::having_raw() Yoast 22.4

public function having_raw( $clause, $parameters = [] ) {
	return $this->add_having( $clause, $parameters );
}