Commit feda99fe authored by Gregory Roussac's avatar Gregory Roussac

Merge pull request #2393 from GiantLeapLab/fix_typo

[*] CORE : Fixed a few typos and comments in the DbQuery module
parents ff52d428 fec6898e
......@@ -163,7 +163,7 @@ class DbQueryCore
}
/**
* Add an ORDER B restriction
* Add an ORDER BY restriction
*
* @param string $fields List of fields to sort. E.g. $this->order('myField, b.mySecondField DESC')
* @return DbQuery
......@@ -179,7 +179,7 @@ class DbQueryCore
/**
* Add a GROUP BY restriction
*
* @param string $fields List of fields to sort. E.g. $this->group('myField, b.mySecondField DESC')
* @param string $fields List of fields to group. E.g. $this->group('myField1, myField2')
* @return DbQuery
*/
public function groupBy($fields)
......@@ -193,7 +193,7 @@ class DbQueryCore
/**
* Limit results in query
*
* @param string $fields List of fields to sort. E.g. $this->order('myField, b.mySecondField DESC')
* @param string $fields Couple of values to set limit and offset. E.g. $this->limit(1, 10)
* @return DbQuery
*/
public function limit($limit, $offset = 0)
......@@ -210,7 +210,7 @@ class DbQueryCore
}
/**
* Generate and get the query
* Generate and get the query as a string
*
* @return string
*/
......
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