Browse Source

Added `@since`, adjusted changelog #9425

tags/2.0.8
Alexander Makarov 9 years ago
parent
commit
2c325fbd48
  1. 2
      framework/CHANGELOG.md
  2. 2
      framework/db/QueryBuilder.php

2
framework/CHANGELOG.md

@ -4,7 +4,7 @@ Yii Framework 2 Change Log
2.0.8 under development
-----------------------
- Enh #9425: `yii\db\Query::exists()` now uses SQL standard `SELECT EXISTS()` query improving performance in some cases (PowerGamer1)
- Enh #9425: `yii\db\Query::exists()` now uses SQL standard `EXISTS()` query via new `yii\db\QueryBuilder::selectExists()` method to improving performance in some cases (PowerGamer1)
- Bug #9935: Fixed `yii\validators\EachValidator` does not invoke `validateAttribute()` method of the embedded validator (klimov-paul)
- Bug #11270: Fixed `BaseActiveRecord::link()` method in order to support closure in `indexBy` for relations declaration (iushev)
- Bug #11333: Avoid serializing PHP 7 errors (zuozp8)

2
framework/db/QueryBuilder.php

@ -1345,6 +1345,8 @@ class QueryBuilder extends \yii\base\Object
* Creates a SELECT EXISTS() SQL statement.
* @param string $rawSql the subquery in a raw form to select from.
* @return string the SELECT EXISTS() SQL statement.
*
* @since 2.0.8
*/
public function selectExists($rawSql)
{

Loading…
Cancel
Save