17 Commits (91e2c7182603a476305498e7633950d3dd831b7e)

Author SHA1 Message Date
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
Alexander Makarov af030c5f5b Added $skipIfSet to ActiveRecord::loadDefaultValues 11 years ago
Alexander Makarov aece6d309e Adjusted test for cubrid 11 years ago
Alexander Makarov 5c3e4fa4ba Adjusted unit tests, added description to docs 11 years ago
Alexander Makarov b66427f8c7 Fixes #2726: ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema 11 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Qiang Xue bcf5b4644e Fixes #2687: ActiveQuery::joinWith() has problem when the query is used twice. 11 years ago
AlexGx 32d0768919 style fixes with phpcs:yii2 11 years ago
Qiang Xue b9743ef65b fixed test break. 11 years ago
Qiang Xue a2edf01c85 Delay joinWith till createCommand to correctly combine relation condition with primary condition. 11 years ago
Carsten Brandt c21e01930e added unit test for #2568 11 years ago