CedricYii
3555633223
Fixes #14289 : Added `yii\db\Command::executeResetSequence()` to work with Oracle
6 years ago
Sergey
292a545642
Fixes #16104 : Fixed `yii\db\pgsql\QueryBuilder::dropIndex()` to prepend index name with schema name
6 years ago
Sam
84cb255aab
Fixes #16245 : Fixed `__isset()` in `BaseActiveRecord` not catching errors
6 years ago
Andrey Akimov
2a3428c9e9
Fixes #15875 : afterSave for new models flushes unsaved data
7 years ago
Bob Olde Hampsink
ab092f2e21
Fixes #15117 : Fixed `yii\db\Schema::getTableMetadata` cache refreshing
7 years ago
Pavel Ivanov
839112a919
Issue #14834 : skip 'TIMESTAMP' definition test when NO_ZERO_DATE enabled ( #15987 )
...
This is a temporary patch to be able to run tests on local configurations without additional MySQL 5.7 tuning.
This will not affect travis builds because travis running with NO_ZERO_DATE disabled.
7 years ago
Carsten Brandt
0af1c05d6a
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name
...
fixes #15931
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
Carsten Brandt
52c80f782d
moved SQL specific test to SQL AR
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
0ca003343b
Fixed test
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
Dmitry Naumenko
f435284952
Fixed typo
7 years ago
SilverFire - Dmitry Naumenko
aed911b5f1
Fixed nesting of JsonExpression, ArrayExpression
7 years ago
SilverFire - Dmitry Naumenko
45bccb11c1
Added test to verify #15838
7 years ago
SilverFire - Dmitry Naumenko
78aaca7a87
Fixed CommandTest::testBindValuesSupportsDeprecatedPDOCastingFormat()
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
66081c6187
Added a unit test to verify #15827
...
Closes #15827
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
233eeb52d7
fixed unit tests
7 years ago
SilverFire - Dmitry Naumenko
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
7 years ago
Sergey Makinen
ac687aab29
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle
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
55f1f34e44
Added test to verifiy #15731
7 years ago
SilverFire - Dmitry Naumenko
23b41220ce
Fixed ActiveRecordTest::testCustomARRelation() to work on PHP <5.5
7 years ago
SilverFire - Dmitry Naumenko
c297986066
Fixed Query::select()
...
fixes #15728
7 years ago
SilverFire - Dmitry Naumenko
2eba4b54f8
Added tests to verify issue #15684
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
59fed9a428
Fixed error in tests
7 years ago
SilverFire - Dmitry Naumenko
e806a3b50a
Added `yii\db\ExpressionInterface` support to `yii\db\Command::batchInsert()`
...
Fixes #15661
7 years ago
SilverFire - Dmitry Naumenko
0177d68476
Commit da06c4a1
reduced num of useless brackets in SQL. Fixing tests
7 years ago
SilverFire - Dmitry Naumenko
da06c4a1e1
Fixed QueryBuilder::buildCondition() to skip empty array on input
...
Fixes #15653
7 years ago
SilverFire - Dmitry Naumenko
7bd694dccb
Enhanced tests
7 years ago
rossoneri
63ffae028e
Fixes #14254 : add an option to specify whether validator is forced to always use master DB for `yii\validators\UniqueValidator` and `yii\validators\ExistValidator`
7 years ago
SilverFire - Dmitry Naumenko
44ab0414b6
fixing tests
7 years ago
SilverFire - Dmitry Naumenko
898fbfc6f8
fixed tests
7 years ago
Robert Korulczyk
df91a9608f
Fixes #14638 : Added `yii\db\SchemaBuilderTrait::tinyInteger()`
7 years ago
Nikolay Oleynikov
74dc1cdc30
Fixes #13618 : Active record now resets related models after corresponding attributes updates
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
7 years ago
Alexander Makarov
5e8fd58ddb
15630 fixed like escaping ( #15642 )
...
* Tests for like escaping.
* Fix for like condition escaping
* Fixed PHPDocs
* Simplify tests
7 years ago
SilverFire - Dmitry Naumenko
1bbd2e1993
Add ExpressionInterface to Query class
7 years ago
SilverFire - Dmitry Naumenko
62d4604269
Added BetweenConditionBuilder
...
Replaces #12678 , Fixes #11611
7 years ago