Browse Source

doc fix.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
4f346f4be1
  1. 3
      framework/yii/db/QueryTrait.php

3
framework/yii/db/QueryTrait.php

@ -136,6 +136,9 @@ trait QueryTrait
* (e.g. `['id' => SORT_ASC, 'name' => SORT_DESC]`).
* The method will automatically quote the column names unless a column contains some parenthesis
* (which means the column contains a DB expression).
* Note that if your order-by is an expression containing commas, you should always use an array
* to represent the order-by information. Otherwise, the method will not be able to correctly determine
* the order-by columns.
* @return static the query object itself
* @see addOrderBy()
*/

Loading…
Cancel
Save