Carsten Brandt
|
b195d9e780
|
optimize table name
|
7 years ago |
Carsten Brandt
|
0af1c05d6a
|
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name
fixes #15931
|
7 years ago |
Carsten Brandt
|
a33b09dab3
|
remove ColumnSchema import from mysql Schema because it conflicts with existing class
|
7 years ago |
Carsten Brandt
|
a38302fdfd
|
improved filtering condition on yii\db\ActiveRecord
|
7 years ago |
Alexander Makarov
|
5f75916cde
|
Wording adjustments and doc enhancements [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
b37f361ad7
|
Fixed possible SQL injection through `ActiveRecord::findOne()`
|
7 years ago |
Marco Moreno
|
f33959419a
|
Fixes #15878: Fixed migration with a comment containing an apostrophe
|
7 years ago |
Marco Moreno
|
c31f9ac811
|
Fixes #15878: Fixed migration with a comment containing an apostrophe
|
7 years ago |
SilverFire - Dmitry Naumenko
|
4bfe5e7a49
|
release version 2.0.14.2
|
7 years ago |
SilverFire - Dmitry Naumenko
|
4ad04be2ea
|
Fixed `null` saving for JSON and Array cols in AR
Fixes #15863
|
7 years ago |
Vladimir Reznichenko
|
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
|
7 years ago |
SilverFire - Dmitry Naumenko
|
79583a2c7e
|
Reverted casting JsonExpression(null) to SQL NULL
|
7 years ago |
SilverFire - Dmitry Naumenko
|
c6ea3fb455
|
Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
This reverts commit cf4bd39fc1 .
|
7 years ago |
SilverFire - Dmitry Naumenko
|
cf4bd39fc1
|
Fixed JsonExpressionBuilder to generate SQL NULL
Fixes #15863
|
7 years ago |
SilverFire - Dmitry Naumenko
|
cc29ef8968
|
Fixed JsonExpressionBuilder to cast JSON explicitly
Fixes #15839;
|
7 years ago |
SilverFire - Dmitry Naumenko
|
aed911b5f1
|
Fixed nesting of JsonExpression, ArrayExpression
|
7 years ago |
berosoboy
|
a98552ef64
|
Fix PostgreSQL aray field typecast when $disableArraySupport is true
|
7 years ago |
Sergey Makinen
|
92213864d9
|
Fixes #15776: Fixed slow MySQL constraints retrieving
|
7 years ago |
Filippo Tessarotto
|
4391ca7f7b
|
Connection::getTransaction() adjust phpdoc to also return null (#15848) [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
4e35eb6539
|
Fixed JSONB support in PostgreSQL 9.4
Closes #15829
|
7 years ago |
SilverFire - Dmitry Naumenko
|
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"`.
|
7 years ago |
SilverFire - Dmitry Naumenko
|
8bb31fb9e5
|
Updated docs, added tests
|
7 years ago |
SilverFire - Dmitry Naumenko
|
5fa25b331d
|
Fixed encoding of empty ArrayExpression for PostgreSQL
|
7 years ago |
SilverFire - Dmitry Naumenko
|
d5d4b8b0f5
|
Fixed `null` values handling for PostgresSQL arrays
Fixes #15804
|
7 years ago |
SilverFire - Dmitry Naumenko
|
9a949525a1
|
Fixed deprecated type casting format in Command::bindValues()
Fixed #15817
|
7 years ago |
Zhukov Roman
|
bd38e384f6
|
Fix for yii\db\Connection events documentation [skip ci]
Fixes #15799
|
7 years ago |
Vladimir Reznichenko
|
f10cb6aeee
|
SCA with Php Inspections (EA Ultimate)
|
7 years ago |
SilverFire - Dmitry Naumenko
|
7c4474132e
|
Fixed PHPDoc [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
7a44ede105
|
Added missing `QueryBuilder::conditionClasses` setter
Fixes #15792
|
7 years ago |
Spell6inder
|
ef757db054
|
fix complex example
fix complex example
|
7 years ago |
Anton Marin
|
47b2197d0a
|
Update Connection.php
How to disable load balancing
|
7 years ago |
SilverFire - Dmitry Naumenko
|
abb503c284
|
release version 2.0.14.1
|
7 years ago |
Dmitry Naumenko
|
f0f823ad2a
|
Fixed typo [skip ci]
|
7 years ago |
Sergey Makinen
|
ac687aab29
|
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle
|
7 years ago |
SilverFire - Dmitry Naumenko
|
25d176aa70
|
Added flags to `ColumnSchema` to disable JSON and Arrays support
|
7 years ago |
SilverFire - Dmitry Naumenko
|
47191d70a9
|
Fixed PHPDocs [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
5a90621ce4
|
Fixed PHPDocs [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
8abb1089f2
|
Fixed testSelectSubquery
|
7 years ago |
Dmitry Naumenko
|
dc452b7e24
|
Fixed multiple JSON-related issues (#15732)
|
7 years ago |
Dmitry Naumenko
|
6c8b87f3e2
|
Implemented \Traversable in ArrayExpression (#15733)
* Implemented \Traversable in ArrayExpression
* Fix punctuation [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
c297986066
|
Fixed Query::select()
fixes #15728
|
7 years ago |
SilverFire - Dmitry Naumenko
|
bd472c3640
|
Revert "Fixed regexp in tests"
This reverts commit 4fbece20ce .
|
7 years ago |
SilverFire - Dmitry Naumenko
|
4fbece20ce
|
Fixed regexp in tests
|
7 years ago |
Elvira Sheina
|
ef9600234e
|
Fix magic getter for ActiveRecord (#15696)
|
7 years ago |
SilverFire - Dmitry Naumenko
|
1b3526d8db
|
Fixed `yii\db\Query::select()` to override existing selects
Fixes #15676, fixes #15674
|
7 years ago |
SilverFire - Dmitry Naumenko
|
22832b7c49
|
release version 2.0.14
|
7 years ago |
SilverFire - Dmitry Naumenko
|
089685975a
|
Wrap @inheritdoc tag in curly brackets [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
e3dcb9e87f
|
Updated PHPDocs [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
01636ae45a
|
Revert "Use QueryBuilder->buildExpression for Query where possible"
This reverts commit 79679b9b6c .
|
7 years ago |
SilverFire - Dmitry Naumenko
|
79679b9b6c
|
Use QueryBuilder->buildExpression for Query where possible
|
7 years ago |