Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
db
QueryTrait
where
yii\db\QueryTrait::where PHP Method
QueryTrait Trait Documentation
Show file
Open project: yiisoft/yii2
where()
public
method
See [[QueryInterface::where()]] for detailed documentation.
See also:
andWhere()
See also:
orWhere()
public
where
(
string
|
array
$condition
)
$condition
string
|
array
the conditions that should be put in the WHERE part.
public function where($condition) { $this->where = $condition; return $this; }
QueryTrait
addOrderBy
andFilterWhere
andWhere
emulateExecution
filterCondition
filterWhere
indexBy
isEmpty
limit
normalizeOrderBy
offset
orFilterWhere
orWhere
orderBy
where