116 Commits (5558ee793bb08383086dadfef264054ad7968427)

Author SHA1 Message Date
Ivan Hermanov b7d8730044
Fix #16092: Fix duplicate joins in usage of `joinWith` 5 years ago
Pavel Ivanov 2da6773b68 Fixes #17089: Fixed caching of related records when `via()` using with callable 6 years ago
SilverFire - Dmitry Naumenko 025dd072c6
Replaces commit dfcf037c7. The prvious idea was wrong and broke some tests 6 years ago
SilverFire - Dmitry Naumenko dfcf037c76
ActiveQuery::viaTable() now throws exception on wrongly prepared query 6 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Carsten Brandt 682c7b4a2a
added comment about non-looping foreach 6 years ago
Evgeniy Moiseenko 7119ff5756 Fixes #16151: Change of scope for method `getTableNameAndAlias()` 6 years ago
drlibra 5ee7fabbf9 Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via` 6 years ago
Alexander Makarov cd442339df
Revert "Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via`" 6 years ago
drlibra f69612f792 Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via` 6 years ago
Vladimir Reznichenko 1a74b3d4f8 [minor] SCA with Php Inspections (EA Ultimate) (#15871) 7 years ago
SilverFire - Dmitry Naumenko 5bd6ed5684
Fixed issues in accidental merge of unfinished #15398 7 years ago
胡倍玮 a036fac490 Extract cache from `yii\db\Command` to `yii\db\CacheableQueryTrait` and use it in `yii\db\Query` 7 years ago
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Alexander f8990ac97a Fixes #15353: Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13 7 years ago
Alexander Makarov 2d672b6722
release version 2.0.13 7 years ago
Dmitry Naumenko 64d8af61a6 Fixes for PHP 7.2 compatibility (#14959) 7 years ago
Michael Härtl 5522d1909c Clarify how joinWith()/innerJoinWith() deals with eager loading [skip ci] 7 years ago
Paul Klimov d68789a195 Fixes #13779, fixes #5786 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Carsten Brandt 173108b5b0 Move getTablesUsedInFrom() from ActiveQuery to Query 7 years ago
Robert Korulczyk fe8a0a6a2e Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Carsten Brandt be658f82bf
release version 2.0.12 7 years ago
Alexander Makarov 9b8b965fcb
Fixes #14211: Fixed regression in Unique and Exist validators 7 years ago
Alexander Makarov 625d554e3a
Additional edge case for #14150 7 years ago
Alexander Makarov 8a087c8537
#14150: Added {{ and }} to getTablesUsedInFrom() output 7 years ago
Alexander Makarov b151b1cdb2
Fixes #14150 7 years ago
Alexander Makarov 23cc4bf4fe
Further changes for unique and exist validators 7 years ago
Alexander Makarov 37fc6c5afb
Alternative names 8 years ago
Dmitry Naumenko 63253ceafc PHPDocs and code style fixed 8 years ago
Alexander Makarov 7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper 8 years ago
Sam Mousa e26bc50441
Fixed wrong variable returned. 8 years ago
Sam Mousa afb93bf743
Apply grouping after loading relations. 8 years ago
Alex-Code 13de76714b
Refactored `yii\db\Query::queryScalar()` method 8 years ago
Boudewijn Vahrmeijer 92eee10ae1 Change the name of method getQueryTableName and remove its $query argument (#12893) 8 years ago
Robert Korulczyk 7a3a342127 Fix errors reported by apidoc extension. (#12986) 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Laszlovl 0f640c7138 Make sure inverseOf relations are also populated during dynamic relational queries 8 years ago
Nikola Kovacs 9d327baa8b coding style fixes 8 years ago
Carsten Brandt 4411a74ebd proper fix for #9425, adjust changes from #11363 9 years ago
Alexander Makarov df6cdf7ad5 Fixed code style 9 years ago
PowerGamer1 806eb57990 Fixes #9425: ActiveQuery::exists() should generate SELECT EXISTS() (#11363) 9 years ago
Klimov Paul e4d9ed5182 code style fix 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 5f19e7aa41 Added Alias Syntax for joinWith() 9 years ago
Carsten Brandt 157d6c79cc fixes #4972 by adding and `alias()` to `ActiveQuery` 9 years ago
githubjeka 2b6ceb1eb7 phpDoc updated 9 years ago
Carsten Brandt ad69b0f8cb added note about fields that can be used in onCondition 9 years ago