Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
db
Command
query
yii\db\Command::query PHP Method
Command Class Documentation
ファイルを表示
Open project: yiisoft/yii2
query()
public
method
This method is for executing a SQL query that returns result set, such as
SELECT
.
public
query
( ) :
DataReader
return
DataReader
the reader object for fetching the query result
public function query() { return $this->queryInternal(''); }
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