Yoast\WP\Lib
ORM::where_raw()
Adds a raw WHERE 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->where_raw( $clause, $parameters );
- $clause(строка) (обязательный)
- The clause that should contain question mark placeholders.
- $parameters(массив)
- The parameters to include in the query.
По умолчанию: []
Код ORM::where_raw() ORM::where raw Yoast 24.1
public function where_raw( $clause, $parameters = [] ) { return $this->add_where( $clause, $parameters ); }