Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
yii
db
Command
queryColumn
yii\db\Command::queryColumn PHP Метод
Документация по классу Command
Показать файл
Открыть проект
queryColumn()
публичный
Метод
This method is best used when only the first column of result (i.e. the first element in each row) is needed for a query.
public
queryColumn
( ) :
array
Результат
array
the first column of the query result. Empty array is returned if the query results in nothing.
public function queryColumn() { return $this->queryInternal('fetchAll', \PDO::FETCH_COLUMN); }
Command
addColumn
addCommentOnColumn
addCommentOnTable
addForeignKey
addPrimaryKey
alterColumn
batchInsert
bindParam
bindPendingParams
bindValue
bindValues
cache
cancel
checkIntegrity
createIndex
createTable
delete
dropColumn
dropCommentFromColumn
dropCommentFromTable
dropForeignKey
dropIndex
dropPrimaryKey
dropTable
execute
getRawSql
getSql
insert
noCache
prepare
query
queryAll
queryColumn
queryInternal
queryOne
queryScalar
refreshTableSchema
renameColumn
renameTable
requireTableSchemaRefresh
resetSequence
setSql
truncateTable
update