332 Commits (78aaca7a8772995cef2ffa0398caa46ee35d4410)

Author SHA1 Message Date
SilverFire - Dmitry Naumenko 2f8225a244
Fixed QueryBuilderTest to work with PgSQL and other DBMS 8 years ago
SilverFire - Dmitry Naumenko 54c7e0c434
Added tests for QueryBuilder::batchInsert() 8 years ago
Brandon Kelly 350e93e626 Fixes #12612: Query conditions added with `yii\db\Query::andWhere()` now get appended to the existing conditions if they were already being joined with the `and` operator 8 years ago
Alexander Makarov b78d6367ba
Removed duplicate assertion from tests, divided test method into two 8 years ago
Alexander Makarov 837b33767c
Fixes #11697: Added `filterHaving()`, `andFilterHaving()` and `orFilterHaving()` to `yii\db\Query` 8 years ago
SilverFire - Dmitry Naumenko 88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()` 8 years ago
Klimov Paul 50b668eee8 redundant code removed 8 years ago
Chris Harris ae83dd0524 Fixes #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString` 8 years ago
Zlakomanov Alexander b8bf0d0c0c added hint into foreign keys query for oracle 11g optimisation 8 years ago
Boudewijn Vahrmeijer 92eee10ae1 Change the name of method getQueryTableName and remove its $query argument (#12893) 8 years ago
Klimov Paul c17766181f Added `QueryInterface::emulateExecution()` 8 years ago
Fabian Peter Hammerle 46da2df98d yii\db\mysql\Schema::loadColumnSchema sets enumValues attribute incorrectly if enum definition contains comma 8 years ago
Alexander Makarov 41b3f0db0b Fixed driver name in MSSQL test 8 years ago
Walt Sorensen f76f0cff6c Test against the current hhvm version (#12971) 8 years ago
Carsten Brandt 6caedd1ff6 added test for MySQL index hints, #10869 8 years ago
Carsten Brandt 24809c5d73 fixed group annotations for #12889 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Boudewijn Vahrmeijer 560e3eb0a3 Unit tests created for ActiveQuery (#12889) 8 years ago
p.chapl 3e1588b5b9 Added unit tests for #9561 8 years ago
SilverFire - Dmitry Naumenko 95152f3c2c Fixed consistency of `indexBy` handling for `yii\db\Query::column()` 8 years ago
SilverFire - Dmitry Naumenko fb210b8839 Fixed typo in data type. Fixes #12599 8 years ago
SilverFire - Dmitry Naumenko 3861108553 Fixed casting of `binnary()` type for MSSQL. Closes #12599 8 years ago
SilverFire - Dmitry Naumenko 8eaf4e2ffe #12544 - Added mote test cases for `AssetBundleTest::testRegisterFileAppendTimestamp()` 8 years ago
SilverFire - Dmitry Naumenko 7f69b71d60 Updated QueryTest. Verified `andFilterWhere` to work with nested operator format conditions 8 years ago
Carsten Brandt 06b045c8fe created unit test to verify #12483 8 years ago
Klimov Paul ea03f56d42 `BaseActiveRecord` methods `canGetProperty()` and `canSetProperty()` improved to handle attribute list fetching failure. 8 years ago
Klimov Paul 75439d367d Fixed `canGetProperty()` and `canSetProperty()` returns `false` for `yii\db\BaseActiveRecord` attributes 8 years ago
Klimov Paul 143f9070af Fixed `yii\db\BaseActiveRecord::updateAttributes()` change `isNewRecord` state for the new model 8 years ago
Carsten Brandt ef0658726f Revert "Revert "fixed mysql defaul integer display width on unsigned pk"" 8 years ago
Carsten Brandt 144d78ebb4 Revert "fixed mysql defaul integer display width on unsigned pk" 8 years ago
Carsten Brandt 85d89e4893 fixed mysql defaul integer display width on unsigned pk 8 years ago
Alexander Makarov 01c4dde202 Added tests for column schema builder comment() method 8 years ago
Evgeniy ad796dbf22 #11912: Postgresql negative default values support for integer/float/decimal columns (#11933) 8 years ago
Carsten Brandt d2dd232b6f message improvement and test for #11323 8 years ago
Carsten Brandt 7fb447506d fix mixed case column names for unique indexes in postgres 8 years ago
Laszlovl 0f640c7138 Make sure inverseOf relations are also populated during dynamic relational queries 8 years ago
Carsten Brandt a46e88dea5 fixed inverseof test assertation 8 years ago
Robert Korulczyk 099b364b14 Fixed #9574: Implicit run ColumnSchemaBuilder::null() when default value is set to null. (#11813) 8 years ago
Robert Korulczyk 104712103b Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812) 8 years ago
Carsten Brandt 86f17c8dad added tests classes for db related tests 8 years ago
Carsten Brandt 8ba032d147 refactored database tests 8 years ago
Carsten Brandt 4e3c9e4a98 fixed scalar value for IN condition 8 years ago
Thiago bafc8b3325 Fixes #10422, #9574: New proposal fix for ColumnSchemaBuilder not null column 8 years ago
Alexander Makarov 7cea46bcb4 Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289 8 years ago
Boudewijn Vahrmeijer 0a60466729 Fixes #11527: Fixed `bigPrimaryKey()` for SQLite 8 years ago
SilverFire - Dmitry Naumenko 77b29bf927 Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK 8 years ago
SilverFire - Dmitry Naumenko b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK 8 years ago
Oleg Balykin 515732c7b8 Test for bug dbTypecast with empty char #11548 8 years ago
Paul Klimov 6b607d078f #11498: Fixed unable to saved serialized object into PostgreSQL binary column (#11499) 9 years ago
Carsten Brandt 4411a74ebd proper fix for #9425, adjust changes from #11363 9 years ago