116 Commits (5558ee793bb08383086dadfef264054ad7968427)

Author SHA1 Message Date
Carsten Brandt 7c7ed48c4c cleanup docs and duplicate code in query 9 years ago
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Alexander Mohorev 68c30c1034 Replace aliases of functions 9 years ago
Carsten Brandt d0c6cb7700 abort removing duplicate records when pk is not in result set 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 a849e815df Fixed `yii\db\ActiveQuery` produces incorrect SQL for aggregations, when `sql` field is set 9 years ago
Klimov Paul 68351e7d8f `yii\db\ActiveQuery::removeDuplicatedModels()` throws exception if model primary key is empty 9 years ago
Alexander Kochetov f42cd49833 yii\db\ActiveQuery phpDoc fix 10 years ago
Alexander Kochetov ee85dba92e yii\db\ActiveQuery phpDoc fix 10 years ago
Veaceslav Medvedev 89406502ad Fixed typo in phpdoc 10 years ago
╃巡洋艦㊣ 1468bd4d3d version 2.0.1 84b42ab 10 years ago
Alexander Mohorev bb8550886e PHP type casting 10 years ago
Alexander Makarov cba52e3c5e Fixes #5382: renamed "pivot table" to "junction table" since it's correct term to use 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 35b54345b5 Handling $query->joinWith called inside of other $query->joinWith within Closure (called inside Closure). Ex.: ```php $query->joinWith( [ 'rel1' => function($query) { $query->joinWith( [ 'rel2' => function($query) { // ... } ] ); } ] ); ``` 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
slavcodev fa8e576251 Refactored ActiveQuery::one() to be consistent with all() creation 10 years ago
Qiang Xue e8c6bb516f Fixes #4048: Added `init` event to `ActiveQuery` classes 10 years ago
Alexander Makarov 593b478f2b Added extra callable typehints 10 years ago
Alexander Makarov 0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 10 years ago
Alexander Kochetov ce1e469751 ActiveQuery::one() slight refactoring 10 years ago
Thiago Talma 563e7e0174 Update ActiveQuery.php 11 years ago
Carsten Brandt 3c400dbca8 fixed file PHPdoc 11 years ago
Carsten Brandt 1a3accb6cb removed duplicated joins when using joinWith and via relations 11 years ago
Qiang Xue 54e08f3f01 fixed build break. 11 years ago
Carsten Brandt a35ef1ce7a added andOnCondition and orOnCondition to ActiveQuery 11 years ago
Alexander Makarov ab799d8ea9 Fixes #2911: Removed `tbl_` default for table prefix 11 years ago
Qiang Xue 13c0931b23 Fixes #2880 11 years ago
Qiang Xue f3c26d3c6b Fixes #2880. 11 years ago
Qiang Xue bc378d1cae properly quote table names for join(). 11 years ago
Carsten Brandt 27659d1776 fixed FileHelper private method static call 11 years ago
Carsten Brandt 9b8372d580 phpdoc 11 years ago
Carsten Brandt 488767914a do not remove records that have no primary key selected 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 aaa4e429a4 Fixes #2687: table alias may not be respected when specified in relation query. 11 years ago
Qiang Xue bcf5b4644e Fixes #2687: ActiveQuery::joinWith() has problem when the query is used twice. 11 years ago
AlexGx 6d72c6a723 fix code style 11 years ago
Alexander Mohorev 95ea1c20bb code style. FOREACH 11 years ago
Qiang Xue a2edf01c85 Delay joinWith till createCommand to correctly combine relation condition with primary condition. 11 years ago
Carsten Brandt cb8237c1b7 merged ActiveQueryInterface and ActiveRelatioInterface 11 years ago
Carsten Brandt 1708a36d95 WIP merge ActiveRelation into ActiveQuery 11 years ago
Qiang Xue 3a930bd675 Finished batch query feature. 11 years ago
Qiang Xue 1571c72251 Fixes #2409: Added support for fetching data from database in batches 11 years ago
Qiang Xue f59598bb8b Added support for building SQLs with sub-queries 11 years ago
Carsten Brandt 16e1aff41b renamed ActiveRecord::create() to populateRecord() 11 years ago
Alexander Makarov b119576041 Fixes #2016: removed ability to declare scopes in ActiveRecord leaving it to ActiveQuery. Changed documentation accordingly. 11 years ago
Carsten Brandt 796284cba1 reworked fix for #1993 11 years ago
Carsten Brandt 81d23332df afterFind event in AR is now called after relations have been populated 11 years ago