Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9df21d46
Commit
9df21d46
authored
Sep 24, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverted addition of $where property
parent
68714cc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
Query.php
framework/db/Query.php
+0
-6
QueryTrait.php
framework/db/QueryTrait.php
+1
-1
No files found.
framework/db/Query.php
View file @
9df21d46
...
@@ -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.
*/
*/
...
...
framework/db/QueryTrait.php
View file @
9df21d46
...
@@ -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.
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment