mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-16 07:11:19 +08:00
added note to QueryInterface::where()
This commit is contained in:
@ -153,6 +153,8 @@ interface QueryInterface
|
|||||||
* - Additionally you can specify arbitrary operators as follows: A condition of `['>=', 'id', 10]` will result in the
|
* - Additionally you can specify arbitrary operators as follows: A condition of `['>=', 'id', 10]` will result in the
|
||||||
* following SQL expression: `id >= 10`.
|
* following SQL expression: `id >= 10`.
|
||||||
*
|
*
|
||||||
|
* **Note that this method will override any existing WHERE condition. You might want to use [[andWhere()]] or [[orWhere()]] instead.**
|
||||||
|
*
|
||||||
* @param array $condition the conditions that should be put in the WHERE part.
|
* @param array $condition the conditions that should be put in the WHERE part.
|
||||||
* @return $this the query object itself
|
* @return $this the query object itself
|
||||||
* @see andWhere()
|
* @see andWhere()
|
||||||
|
Reference in New Issue
Block a user