Skip to content

Commit

Permalink
reverted addition of $where property
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Sep 24, 2014
1 parent 68714cc commit 9df21d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions framework/db/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ class Query extends Component implements QueryInterface
* @see 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']`.
* This is used to construct the GROUP BY clause in a SQL statement.
Expand Down
2 changes: 1 addition & 1 deletion framework/db/QueryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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]`.
* @see where() for valid syntax on specifying this value.
*/
Expand Down

0 comments on commit 9df21d4

Please sign in to comment.