1b4d894c9d
created test for #5341
2014-10-03 23:16:58 +02:00
aa8c013ebf
Fixes #3197 : Using ActiveQuery::indexBy()
may cause relational AR queries to generate incorrect relational results
2014-09-23 10:29:11 -04:00
b9c97ff2aa
Fixes #4938 : When yii\db\ActiveQuery
is used to build sub-queries, its WHERE clause is not correctly generated
2014-09-12 16:46:12 -04:00
2150fa3239
Fixes #4970 : joinWith()
called by a relation was ignored by yii\db\ActiveQuery
2014-09-10 15:00:15 -04:00
70ed5d5c01
Test for fix
2014-09-10 14:49:12 -04:00
c4dc9470be
created a test case to verify #4682
2014-08-13 12:45:20 +02:00
1b4a9b62cd
Fixes #3568 : When the primary query sets asArray
, it is not respected by the via
relational query
2014-06-25 23:35:02 -04:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
0208f289c3
fixed test breaks
2014-06-04 19:12:18 +02:00
d92281dcda
refactored ActiveRecord::unlinkAll() to work will noSQL
...
issue #3520
2014-06-04 14:28:57 +02:00
0003b10b02
ElasticSearch tests fix
2014-06-02 18:14:02 +04:00
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
2014-06-01 22:40:05 +03:00
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
581aad8e22
Fixed test break.
2014-04-04 10:25:08 -04:00
1a3accb6cb
removed duplicated joins when using joinWith and via relations
...
fixes #2650
2014-04-04 15:34:19 +02:00
f7a6cb9f7a
Refactored AR tests.
2014-03-30 20:46:25 -04:00
ab799d8ea9
Fixes #2911 : Removed tbl_
default for table prefix
2014-03-30 19:33:46 +04:00
636042b9b3
Fixed test break.
2014-03-26 16:16:39 -04:00
39667aa6b7
Fixed activequery select issue.
2014-03-26 15:51:10 -04:00
bc378d1cae
properly quote table names for join().
2014-03-26 15:02:56 -04:00
21bc29560c
Fixed test break.
2014-03-26 12:50:58 -04:00
78136d4278
Fixes #2880 : filterByModels() should prefix key columns in a join query.
2014-03-26 11:19:01 -04:00
af030c5f5b
Added $skipIfSet to ActiveRecord::loadDefaultValues
2014-03-20 19:43:59 +04:00
aece6d309e
Adjusted test for cubrid
2014-03-20 14:27:47 +04:00
5c3e4fa4ba
Adjusted unit tests, added description to docs
2014-03-19 23:07:56 +04:00
b66427f8c7
Fixes #2726 : ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema
2014-03-19 18:06:20 +04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
bcf5b4644e
Fixes #2687 : ActiveQuery::joinWith() has problem when the query is used twice.
2014-03-10 21:44:48 -04:00
32d0768919
style fixes with phpcs:yii2
2014-03-08 14:55:58 +02:00
b9743ef65b
fixed test break.
2014-03-01 19:35:00 -05:00
a2edf01c85
Delay joinWith till createCommand to correctly combine relation condition with primary condition.
2014-03-01 18:39:22 -05:00
c21e01930e
added unit test for #2568
2014-02-27 15:13:51 +01:00
683a46d9ee
test for deeply nested relation
...
close #2543
2014-02-25 15:03:54 +01:00
c92a260a3d
Fixes #2415 : Added support for inverse relations
2014-02-18 19:43:05 -05:00
dd26d39dd8
Removed unused namespace imports
2014-02-07 13:26:00 +04:00
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
c4c328dc92
Fixes #1791 : support ON condition for relational query.
2014-01-06 23:56:58 -05:00
795a09c27a
Fixes #1791 : joinWithRelation using table alias.
2014-01-05 17:42:40 -05:00
0345191245
Added ActiveQuery::innerJoinWith().
2013-12-24 21:27:13 -05:00
4f44bb2416
Fixes #1581 : Added ActiveQuery::joinWith()
to support joining with relations
2013-12-24 00:08:49 -05:00
2402d2d031
Draft implementation of ActiveQuery::joinWith().
2013-12-23 22:26:44 -05:00
164ddf98b0
Fixed test break.
2013-12-04 00:06:01 -05:00
b868e91fee
Fixed test break.
2013-12-03 23:52:21 -05:00
643593737d
added test case for #1310
2013-11-24 20:45:50 +01:00
f017ba357f
refactored unit tests. put common AR tests in trait
2013-11-24 19:18:16 +01:00
c6347d6d01
polished elasticsearch AR api, added mget and fixed AR::equals()
2013-11-23 15:26:00 +01:00
bc4324c041
Merge branch 'master' into redis
...
* master: (613 commits)
fixed typo
Fixes #1222 : refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Added example for dividers to bootstrap Nav
Checkboxlist documentation fix
Added "Using controller action to render errors"
Fix doc
Renamed DetailView attribute type to format
encode email in Formatter
Added default status code setting.
"yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
fix rbac select statement
Comments cleanup.
Reverted closeButton
Nomenclature and code realignment.
better nginx config
guide about using bootstrap less files
Include Schema in new migrations by default
...
Conflicts:
framework/yii/db/ActiveRecord.php
framework/yii/db/ActiveRelation.php
tests/unit/data/config.php
2013-11-22 15:04:08 +01:00
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
2013-11-16 16:53:50 +01:00
9448c3d471
added unit tests for active dataprovider and fixed query tests
2013-11-13 19:35:44 +01:00
b0b1c27c85
Fix phpDoc var tag format
2013-11-12 06:21:04 +02:00