Yoast\WP\Lib
ORM::where_id_is
Queries the table by its primary key. Special method.
If primary key is compound, only the columns that belong to they key will be used for the query.
Метод класса: ORM{}
Хуков нет.
Возвращает
ORM.
Использование
$ORM = new ORM(); $ORM->where_id_is( $id );
- $id(строка) (обязательный)
- The ID.
Код ORM::where_id_is() ORM::where id is Yoast 26.3
public function where_id_is( $id ) {
return \is_array( $this->get_id_column_name() ) ? $this->where( $this->get_compound_id_column_values( $id ), null ) : $this->where( $this->get_id_column_name(), $id );
}