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
QueryInterface
all
yii\db\QueryInterface::all PHP Méthode
QueryInterface Interface Documentation
Afficher le fichier
Open project: yiisoft/yii2
all()
public
méthode
Executes the query and returns all results as an array.
public
all
(
Connection
$db
= null ) :
array
$db
Connection
the database connection used to execute the query. If this parameter is not given, the `db` application component will be used.
Résultat
array
the query results. If the query results in nothing, an empty array will be returned.
public function all($db = null);
QueryInterface
addOrderBy
all
andFilterWhere
andWhere
count
emulateExecution
exists
filterWhere
indexBy
limit
offset
one
orFilterWhere
orWhere
orderBy
where