14 Commits

Author SHA1 Message Date
ef757db054 fix complex example
fix complex example
2018-02-27 11:34:24 +02:00
22832b7c49 release version 2.0.14 2018-02-19 00:27:09 +02:00
01636ae45a Revert "Use QueryBuilder->buildExpression for Query where possible"
This reverts commit 79679b9b6c019682b3ccd817cea371b1214695ba.
2018-02-18 20:50:15 +02:00
79679b9b6c Use QueryBuilder->buildExpression for Query where possible 2018-02-18 20:36:25 +02:00
da06c4a1e1 Fixed QueryBuilder::buildCondition() to skip empty array on input
Fixes #15653
2018-02-16 23:46:08 +02:00
ad0c19de3a Merge pull request #15643 from SilverFire/make-query-expression
Implement ExpressionInterface in Query
2018-02-12 17:54:46 +02:00
5e8fd58ddb 15630 fixed like escaping (#15642)
* Tests for like escaping.

* Fix for like condition escaping

* Fixed PHPDocs

* Simplify tests
2018-02-11 22:59:24 +03:00
7e7cae7acb Changed conditions properties visibility to private 2018-02-11 20:07:09 +02:00
23dbbb9fd7 Merge branch 'master' into make-query-expression 2018-02-11 20:05:32 +02:00
8f6e2560bc Change BetweenColumnsCondition properties visibility 2018-02-11 20:03:58 +02:00
1bbd2e1993 Add ExpressionInterface to Query class 2018-02-11 20:02:27 +02:00
62d4604269 Added BetweenConditionBuilder
Replaces #12678, Fixes #11611
2018-02-11 18:55:07 +02:00
e6f5c46cdc Fixes #15633: Deprecate some things going away/changing in 2.1
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
d16586334d Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL 2018-02-05 04:59:14 +07:00