|
b195d9e780
|
optimize table name
|
2018-03-21 18:07:30 +01:00 |
|
|
0af1c05d6a
|
yii\db\ActiveRecord::findOne() now accepts column names prefixed with table name
fixes #15931
|
2018-03-21 17:44:22 +01:00 |
|
|
a33b09dab3
|
remove ColumnSchema import from mysql Schema because it conflicts with existing class
|
2018-03-20 13:40:28 +01:00 |
|
|
a38302fdfd
|
improved filtering condition on yii\db\ActiveRecord
|
2018-03-20 11:42:28 +01:00 |
|
|
5f75916cde
|
Wording adjustments and doc enhancements [skip ci]
|
2018-03-20 11:20:56 +01:00 |
|
|
b37f361ad7
|
Fixed possible SQL injection through ActiveRecord::findOne()
|
2018-03-20 11:20:56 +01:00 |
|
|
f33959419a
|
Fixes #15878: Fixed migration with a comment containing an apostrophe
|
2018-03-20 11:19:10 +01:00 |
|
|
4bfe5e7a49
|
release version 2.0.14.2
|
2018-03-13 16:15:01 +02:00 |
|
|
4ad04be2ea
|
Fixed null saving for JSON and Array cols in AR
Fixes #15863
|
2018-03-13 16:03:46 +02:00 |
|
|
7a38c795b4
|
Merge pull request #15868 from SilverFire/mysql-json-cast-15839
Fixed JsonExpressionBuilder to cast JSON explicitly
|
2018-03-13 12:30:09 +02:00 |
|
|
1a74b3d4f8
|
[minor] SCA with Php Inspections (EA Ultimate) (#15871)
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
|
2018-03-12 01:37:19 +03:00 |
|
|
5e16c67673
|
Merge pull request #15797 from kalessil/master
[minor] Static code analysis
|
2018-03-10 15:42:48 +02:00 |
|
|
79583a2c7e
|
Reverted casting JsonExpression(null) to SQL NULL
|
2018-03-10 11:14:08 +02:00 |
|
|
c6ea3fb455
|
Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
This reverts commit cf4bd39fc1927c3cbe85c08c6fc473d60921d96f.
|
2018-03-10 11:11:11 +02:00 |
|
|
cf4bd39fc1
|
Fixed JsonExpressionBuilder to generate SQL NULL
Fixes #15863
|
2018-03-10 10:04:41 +02:00 |
|
|
cc29ef8968
|
Fixed JsonExpressionBuilder to cast JSON explicitly
Fixes #15839;
|
2018-03-10 09:56:28 +02:00 |
|
|
aed911b5f1
|
Fixed nesting of JsonExpression, ArrayExpression
|
2018-03-08 12:45:01 +02:00 |
|
|
a98552ef64
|
Fix PostgreSQL aray field typecast when $disableArraySupport is true
|
2018-03-08 00:58:13 -03:00 |
|
|
92213864d9
|
Fixes #15776: Fixed slow MySQL constraints retrieving
|
2018-03-08 00:45:22 +03:00 |
|
|
4391ca7f7b
|
Connection::getTransaction() adjust phpdoc to also return null (#15848) [skip ci]
|
2018-03-07 23:45:50 +03:00 |
|
|
4e35eb6539
|
Fixed JSONB support in PostgreSQL 9.4
Closes #15829
|
2018-03-04 20:25:36 +02:00 |
|
|
f7da602250
|
PgSQL: Fix table schema load for table name in quotes
This commit fixes the table schema loading for PostgreSQL, when
the table name is specified in quotes, e.g. `"type"`.
|
2018-03-04 20:19:45 +02:00 |
|
|
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 |
|