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
redis
ActiveQuery
exists
yii\redis\ActiveQuery::exists PHP Méthode
ActiveQuery Class Documentation
Afficher le fichier
Open project: yiisoft/yii2-redis
exists()
public
méthode
Returns a value indicating whether the query result contains any row of data.
public
exists
(
Connection
$db
= null ) :
boolean
$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
boolean
whether the query result contains any row of data.
public function exists($db = null) { return $this->one($db) !== null; }
ActiveQuery
__construct
all
average
column
count
executeScript
exists
findByPk
init
max
min
one
scalar
sum