27 Commits (ee8a8e90f8ea58dd85c8488d82b70ae44d01d4a8)

Author SHA1 Message Date
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
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
Carsten Brandt 8ba032d147 refactored database tests 8 years ago
Carsten Brandt 4411a74ebd proper fix for #9425, adjust changes from #11363 9 years ago
Carsten Brandt 37d2373911 added tests for #9047 9 years ago
Carsten Brandt fd68e6814e added failing test for #11088 9 years ago
Ivaylo Ushev 5921865459 Fixed: #11270 - Error when link record in one to many relation. (#11301) 9 years ago
Carsten Brandt ce35739469 joinWith implementation cleanup 9 years ago
Carsten Brandt 3f8df39f45 more tests for joinWith alias 9 years ago
Carsten Brandt 94571e2c23 improved tests for ActiveQuery::joinWith alias 9 years ago
Carsten Brandt 5f19e7aa41 Added Alias Syntax for joinWith() 9 years ago
Carsten Brandt 157d6c79cc fixes #4972 by adding and `alias()` to `ActiveQuery` 9 years ago
nainoon 076329bfba add test for join with alias 9 years ago
Alexander Makarov 615a29f04e More fixes for MSSQL tests 9 years ago
Alexander Makarov 8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 9 years ago
Sam Mousa 4a464afe9b Fixes #9656: `yii\db\BaseActiveRecord` refactored in order to getting, setting and unsetring attribute values using the same approach 9 years ago
Alexander Makarov 357bce51bb Tests for #9006 9 years ago
Carsten Brandt d0c6cb7700 abort removing duplicate records when pk is not in result set 9 years ago
Klimov Paul a849e815df Fixed `yii\db\ActiveQuery` produces incorrect SQL for aggregations, when `sql` field is set 9 years ago
Klimov Paul 51a442d6c8 Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save 9 years ago
Klimov Paul 6d96d3cbee Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set 10 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
Jan Waś 9e6b7dea24 add an unit test, which fails for postgresql and oracle 10 years ago
John Was 4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER 10 years ago
Jose Lorente 98759201ac Fixed bug #7271. Classes that call '*::populateRecord()' after retrieving data from ddbb call now the method on the class of the model returned by '*::instantiate()'. Tests for mysql, elasticsearch and mongodb attached. 10 years ago
Carsten Brandt 1b4d894c9d created test for #5341 10 years ago
Qiang Xue aa8c013ebf Fixes #3197: Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results 10 years ago
Qiang Xue b9c97ff2aa Fixes #4938: When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated 10 years ago
Qiang Xue 2150fa3239 Fixes #4970: `joinWith()` called by a relation was ignored by `yii\db\ActiveQuery` 10 years ago
Stephen Seliuk 70ed5d5c01 Test for fix 10 years ago
Carsten Brandt c4dc9470be created a test case to verify #4682 10 years ago
Qiang Xue 1b4a9b62cd Fixes #3568: When the primary query sets `asArray`, it is not respected by the `via` relational query 10 years ago
Alexander Makarov 0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 10 years ago
Carsten Brandt 0208f289c3 fixed test breaks 10 years ago
Carsten Brandt d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL 10 years ago
Alexander Makarov 0003b10b02 ElasticSearch tests fix 10 years ago
NmDimas 95d2b29bff Change unit test to Unlink and add test to unlinkAll 10 years ago
Alexander Makarov 75154d351d Refactored AR find 11 years ago
Qiang Xue 581aad8e22 Fixed test break. 11 years ago
Carsten Brandt 1a3accb6cb removed duplicated joins when using joinWith and via relations 11 years ago
Qiang Xue f7a6cb9f7a Refactored AR tests. 11 years ago
Alexander Makarov ab799d8ea9 Fixes #2911: Removed `tbl_` default for table prefix 11 years ago
Qiang Xue 636042b9b3 Fixed test break. 11 years ago
Qiang Xue 39667aa6b7 Fixed activequery select issue. 11 years ago
Qiang Xue bc378d1cae properly quote table names for join(). 11 years ago
Qiang Xue 21bc29560c Fixed test break. 11 years ago
Qiang Xue 78136d4278 Fixes #2880: filterByModels() should prefix key columns in a join query. 11 years ago