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
elasticsearch
Query
exists
yii\elasticsearch\Query::exists PHP Method
Query Class Documentation
ファイルを表示
Open project: yiisoft/yii2-elasticsearch
exists()
public
method
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 `elasticsearch` application component will be used.
return
boolean
whether the query result contains any row of data.
public function exists($db = null) { return self::one($db) !== false; }
Query
addAgg
addAggregate
addAggregation
addOptions
addSuggester
all
batch
column
count
createCommand
delete
each
exists
fields
filter
from
highlight
init
minScore
one
options
populate
postFilter
query
scalar
search
source
stats
timeout