Commit 9df21d46 by Carsten Brandt

reverted addition of $where property

parent 68714cc8
...@@ -66,12 +66,6 @@ class Query extends Component implements QueryInterface ...@@ -66,12 +66,6 @@ class Query extends Component implements QueryInterface
*/ */
public $from; public $from;
/** /**
* @var string|array query condition. This refers to the WHERE clause in a SQL statement.
* For example, `age > 31 AND team = 1`.
* @see where()
*/
public $where;
/**
* @var array how to group the query results. For example, `['company', 'department']`. * @var array how to group the query results. For example, `['company', 'department']`.
* This is used to construct the GROUP BY clause in a SQL statement. * This is used to construct the GROUP BY clause in a SQL statement.
*/ */
......
...@@ -21,7 +21,7 @@ use yii\base\NotSupportedException; ...@@ -21,7 +21,7 @@ use yii\base\NotSupportedException;
trait QueryTrait trait QueryTrait
{ {
/** /**
* @var array query condition. This refers to the WHERE clause in a SQL statement. * @var string|array query condition. This refers to the WHERE clause in a SQL statement.
* For example, `['age' => 31, 'team' => 1]`. * For example, `['age' => 31, 'team' => 1]`.
* @see where() for valid syntax on specifying this value. * @see where() for valid syntax on specifying this value.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment