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
QueryInterface
exists
yii\db\QueryInterface::exists PHP Метод
Документация по интерфейсу QueryInterface
Показать файл
Открыть проект
exists()
публичный
Метод
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.
Результат
boolean
whether the query result contains any row of data.
public function exists($db = null);
QueryInterface
addOrderBy
all
andFilterWhere
andWhere
count
emulateExecution
exists
filterWhere
indexBy
limit
offset
one
orFilterWhere
orWhere
orderBy
where