Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
db
Command
query
yii\db\Command::query PHP Méthode
Command Class Documentation
Afficher le fichier
Open project: yiisoft/yii2
query()
public
méthode
This method is for executing a SQL query that returns result set, such as
SELECT
.
public
query
( ) :
DataReader
Résultat
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