b642c36019
Merge branch 'antonmarin-patch-1'
2018-03-03 21:17:42 +02:00
8bb31fb9e5
Updated docs, added tests
2018-03-03 21:17:31 +02:00
5fa25b331d
Fixed encoding of empty ArrayExpression for PostgreSQL
2018-03-03 20:43:58 +02:00
d5d4b8b0f5
Fixed null values handling for PostgresSQL arrays
...
Fixes #15804
2018-03-03 18:54:33 +02:00
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
2018-03-03 17:50:18 +02:00
bd38e384f6
Fix for yii\db\Connection events documentation [skip ci]
...
Fixes #15799
2018-02-28 00:16:29 +03:00
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
7c4474132e
Fixed PHPDoc [skip ci]
2018-02-27 14:39:53 +02:00
a78ba75b7b
Merge pull request #15789 from Spell6inder/patch-1
...
fix complex example
2018-02-27 14:38:39 +02:00
7a44ede105
Added missing QueryBuilder::conditionClasses setter
...
Fixes #15792
2018-02-27 14:36:55 +02:00
ef757db054
fix complex example
...
fix complex example
2018-02-27 11:34:24 +02:00
47b2197d0a
Update Connection.php
...
How to disable load balancing
2018-02-26 18:46:15 +03:00
abb503c284
release version 2.0.14.1
2018-02-24 22:23:06 +02:00
f0f823ad2a
Fixed typo [skip ci]
2018-02-24 21:55:47 +02:00
1297449ba1
Merge pull request #15764 from sergeymakinen/issue-15708
...
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle (fixes #15708 )
2018-02-24 21:55:00 +02:00
ac687aab29
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle
2018-02-24 19:59:12 +03:00
25d176aa70
Added flags to ColumnSchema to disable JSON and Arrays support
2018-02-24 17:18:40 +02:00
47191d70a9
Fixed PHPDocs [skip ci]
2018-02-24 11:55:21 +02:00
5a90621ce4
Fixed PHPDocs [skip ci]
2018-02-24 11:40:17 +02:00
8abb1089f2
Fixed testSelectSubquery
2018-02-23 23:35:52 +02:00
64255b3d0a
Merge branch 'master' into query-select-bug
2018-02-23 23:33:07 +02:00
dc452b7e24
Fixed multiple JSON-related issues ( #15732 )
2018-02-23 23:07:04 +02:00
6c8b87f3e2
Implemented \Traversable in ArrayExpression ( #15733 )
...
* Implemented \Traversable in ArrayExpression
* Fix punctuation [skip ci]
2018-02-23 22:50:06 +02:00
c297986066
Fixed Query::select()
...
fixes #15728
2018-02-21 18:11:27 +02:00
ef9600234e
Fix magic getter for ActiveRecord ( #15696 )
2018-02-20 20:10:44 +05:00
1b3526d8db
Fixed yii\db\Query::select() to override existing selects
...
Fixes #15676 , fixes #15674
2018-02-19 17:53:28 +02:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
089685975a
Wrap @inheritdoc tag in curly brackets [skip ci]
2018-02-19 00:16:19 +02:00
e3dcb9e87f
Updated PHPDocs [skip ci]
2018-02-18 23:26:45 +02:00
e806a3b50a
Added yii\db\ExpressionInterface support to yii\db\Command::batchInsert()
...
Fixes #15661
2018-02-18 20:23:08 +02:00
488f98648a
added missing @since annotations
2018-02-18 00:44:10 +01:00
10bab28423
Mentioned new data caching methods in the guide [skip ci]
2018-02-17 02:25:28 +03:00
da06c4a1e1
Fixed QueryBuilder::buildCondition() to skip empty array on input
...
Fixes #15653
2018-02-16 23:46:08 +02:00
5da39b4a7e
Fixed PHPDocs
2018-02-16 23:08:24 +02:00
47674e1266
#13879 : Added yii\db\Migration::upsert()
2018-02-16 17:37:00 +03:00
e493843b1c
improve @deprecated annotations
2018-02-16 11:19:00 +01:00
c3c9d1fd97
Merge branch 'master' into SamMousa-indexby-after-relations-9342
...
Conflicts:
framework/db/Query.php
2018-02-15 23:38:06 +02:00
ad0c19de3a
Merge pull request #15643 from SilverFire/make-query-expression
...
Implement ExpressionInterface in Query
2018-02-12 17:54:46 +02:00
df91a9608f
Fixes #14638 : Added yii\db\SchemaBuilderTrait::tinyInteger()
2018-02-12 12:01:21 +03:00
74dc1cdc30
Fixes #13618 : Active record now resets related models after corresponding attributes updates
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
2018-02-12 02:26:49 +03: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
78a151bdae
Fixes #14859 : Fixed OCI DB defaultSchema failure when masterConfig is used
2018-02-11 15:38:57 +03:00
eb758f6f04
Fixes #15031 : Fixed incorrect string type length detection for OCI DB schema
2018-02-11 13:54:37 +03: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
5bd6ed5684
Fixed issues in accidental merge of unfinished #15398
2018-02-10 14:10:14 +02:00