Yoast\WP\Lib
ORM::select
Adds a column to the list of columns returned by the SELECT query.
Метод класса: ORM{}
Хуков нет.
Возвращает
ORM.
Использование
$ORM = new ORM(); $ORM->select( $column, $alias );
- $column(строка) (обязательный)
- The column.
По умолчанию: `''`* - $alias(строка|null)
- The alias to return the column as.
По умолчанию:null
Код ORM::select() ORM::select Yoast 27.4
public function select( $column, $alias = null ) {
$column = $this->quote_identifier( $column );
return $this->add_result_column( $column, $alias );
}