Yoast\WP\Lib
ORM::having()
Adds a HAVING column = value clause to your query.
Each time this is called in the chain, an additional HAVING will be added, and these will be ANDed together when the final query is built.
If you use an array in $column_name, a new clause will be added for each element. In this case, $value is ignored.
Метод класса: ORM{}
Хуков нет.
Возвращает
ORM
.
Использование
$ORM = new ORM(); $ORM->having( $column_name, $value );
- $column_name(строка|массив) (обязательный)
- The table column.
- $value(разное|null)
- The value.
По умолчанию: null
Код ORM::having() ORM::having Yoast 24.0
public function having( $column_name, $value = null ) { return $this->having_equal( $column_name, $value ); }