mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 06:11:35 +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
|
||||
* 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.
|
||||
* @return $this the query object itself
|
||||
* @see andWhere()
|
||||
|
Reference in New Issue
Block a user