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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
5acf17e6
Commit
5acf17e6
authored
Oct 05, 2014
by
Serge Postrash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed phpdoc for yii\db\Query [skip ci]
parent
3b8025e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Query.php
framework/db/Query.php
+4
-4
No files found.
framework/db/Query.php
View file @
5acf17e6
...
@@ -286,7 +286,7 @@ class Query extends Component implements QueryInterface
...
@@ -286,7 +286,7 @@ class Query extends Component implements QueryInterface
* Make sure you properly quote column names in the expression.
* Make sure you properly quote column names in the expression.
* @param Connection $db the database connection used to generate the SQL statement.
* @param Connection $db the database connection used to generate the SQL statement.
* If this parameter is not given, the `db` application component will be used.
* If this parameter is not given, the `db` application component will be used.
* @return
integer
the sum of the specified column values
* @return
mixed
the sum of the specified column values
*/
*/
public
function
sum
(
$q
,
$db
=
null
)
public
function
sum
(
$q
,
$db
=
null
)
{
{
...
@@ -299,7 +299,7 @@ class Query extends Component implements QueryInterface
...
@@ -299,7 +299,7 @@ class Query extends Component implements QueryInterface
* Make sure you properly quote column names in the expression.
* Make sure you properly quote column names in the expression.
* @param Connection $db the database connection used to generate the SQL statement.
* @param Connection $db the database connection used to generate the SQL statement.
* If this parameter is not given, the `db` application component will be used.
* If this parameter is not given, the `db` application component will be used.
* @return
integer
the average of the specified column values.
* @return
mixed
the average of the specified column values.
*/
*/
public
function
average
(
$q
,
$db
=
null
)
public
function
average
(
$q
,
$db
=
null
)
{
{
...
@@ -312,7 +312,7 @@ class Query extends Component implements QueryInterface
...
@@ -312,7 +312,7 @@ class Query extends Component implements QueryInterface
* Make sure you properly quote column names in the expression.
* Make sure you properly quote column names in the expression.
* @param Connection $db the database connection used to generate the SQL statement.
* @param Connection $db the database connection used to generate the SQL statement.
* If this parameter is not given, the `db` application component will be used.
* If this parameter is not given, the `db` application component will be used.
* @return
integer
the minimum of the specified column values.
* @return
mixed
the minimum of the specified column values.
*/
*/
public
function
min
(
$q
,
$db
=
null
)
public
function
min
(
$q
,
$db
=
null
)
{
{
...
@@ -325,7 +325,7 @@ class Query extends Component implements QueryInterface
...
@@ -325,7 +325,7 @@ class Query extends Component implements QueryInterface
* Make sure you properly quote column names in the expression.
* Make sure you properly quote column names in the expression.
* @param Connection $db the database connection used to generate the SQL statement.
* @param Connection $db the database connection used to generate the SQL statement.
* If this parameter is not given, the `db` application component will be used.
* If this parameter is not given, the `db` application component will be used.
* @return
integer
the maximum of the specified column values.
* @return
mixed
the maximum of the specified column values.
*/
*/
public
function
max
(
$q
,
$db
=
null
)
public
function
max
(
$q
,
$db
=
null
)
{
{
...
...
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