36 Commits (7076b38ea9dbddfe40f53928f93944eef9b92d0b)

Author SHA1 Message Date
Laszlovl 0f640c7138 Make sure inverseOf relations are also populated during dynamic relational queries 8 years ago
Carsten Brandt 52e23e0317 fix issue with composite key in combination with join 9 years ago
Carsten Brandt 762b9207ea Avoid some calls to `new $this->modelClass` in ActiveQuery 9 years ago
Alexander Makarov 1b3770fd21 Use === instead of == where possible 9 years ago
Alexander Makarov 67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 9 years ago
Klimov Paul 582b7606ac Fixed `yii\db\ActiveRelationTrait::populateRelation()` fails when `link` refers to array string convertable object attribute 10 years ago
Klimov Paul 4503cae876 code style fix 10 years ago
Klimov Paul c0fc4596e2 Fixed `yii\db\ActiveRelationTrait::populateRelation()` fails when `link` refers to string convertable object attribute, like `\MongoId` 10 years ago
Alexander Makarov 6481d13494 Optimized checks order in conditions 10 years ago
Alexander Makarov 02622b6fe4 phpdoc fixes and additions 10 years ago
Klimov Paul 15c8935db1 Fixed `yii\mongodb\ActiveRecord` unable to fetch 'hasMany' referred by array of `\MongoId` 10 years ago
Alexander Makarov cba52e3c5e Fixes #5382: renamed "pivot table" to "junction table" since it's correct term to use 10 years ago
Carsten Brandt 222f9ddfad added missing documentation about the NOT operator in Query 10 years ago
Qiang Xue aa8c013ebf Fixes #3197: Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results 10 years ago
Carsten Brandt f5f9364785 fixed test break 10 years ago
Carsten Brandt d036d2f5bf add support for array valued attr relations to unlink and link 10 years ago
Carsten Brandt cc38e9c795 fixed issue with indexBy and array valued relations 10 years ago
Klimov Paul 1a07485e27 Added support for relation by array attributes 10 years ago
Alexander Makarov 593b478f2b Added extra callable typehints 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 2b593da08f phpdoc issue 11 years ago
Carsten Brandt 76d8e2b5b3 code style, fixes #3140 11 years ago
Thiago Talma c1445871f4 Correction of many errors code inspection. 11 years ago
Thiago Talma 544243d517 Update ActiveRelationTrait.php 11 years ago
Qiang Xue 0b29c9607d fixed broken API links [skip ci] 11 years ago
Qiang Xue 78136d4278 Fixes #2880: filterByModels() should prefix key columns in a join query. 11 years ago
Carsten Brandt bf3c75147d reverted breaking PHPdoc codestyle changes 11 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Qiang Xue 34cfb356e9 Fixes #2713: using relations defined in behavior may throw exception in lazy loading. 11 years ago
AlexGx eaaa5b1bb5 fix code style 11 years ago
Carsten Brandt 33d6acba25 Improved behavior support, fixes #2550 11 years ago
Jacob Morrison 614bffb01a Fixed issue with preventing from clearing events and behaviors on clone 11 years ago
Carsten Brandt 1708a36d95 WIP merge ActiveRelation into ActiveQuery 11 years ago
Qiang Xue c92a260a3d Fixes #2415: Added support for inverse relations 11 years ago
Qiang Xue 0c38655217 psr-4 move 11 years ago
Qiang Xue 4f44bb2416 Fixes #1581: Added `ActiveQuery::joinWith()` to support joining with relations 11 years ago
Qiang Xue b0568612bf Fixes #1402: AR eager loading has problem when asArray() is used together with viaTable(). 11 years ago
Klimov Paul cddb878360 ActiveRelationTrait::getModelKey() updated to work with non scalar keys. 11 years ago
Carsten Brandt d0fc987f0b fixed test break 11 years ago
Qiang Xue 0b43aa4f81 Fixes #1310: ActiveRelation does not preserve order of items on find via() and viaTable() 11 years ago
Qiang Xue a2fe128455 refactored query and relation. 11 years ago
Qiang Xue 42a58870fe moved db interfaces and traits back to yii/db. 11 years ago
Carsten Brandt 8250cfbb0f reverted change of count() signature 11 years ago
Carsten Brandt 51faa62eca updated interface and trait php-doc in yii\ar 11 years ago
Carsten Brandt 9448c3d471 added unit tests for active dataprovider and fixed query tests 11 years ago
Carsten Brandt 65338972c7 refactored ActiveRecord classes to use Interfaces and traits 11 years ago
Carsten Brandt b8e31d50bb renamed AR trait classes 11 years ago
Carsten Brandt 4653526262 moved common parts of db ActiveRelation and Query to traits 11 years ago
Alexander Makarov 1f6a823073 Short array syntax 11 years ago