19 Commits

Author SHA1 Message Date
c4c328dc92 Fixes #1791: support ON condition for relational query. 2014-01-06 23:56:58 -05:00
7a81110f6b make ActiveRelation reusable
fixes #1560
2013-12-17 17:01:01 +01:00
c7ff329e3c doc fix. 2013-11-16 21:30:34 -05:00
42a58870fe moved db interfaces and traits back to yii/db. 2013-11-14 22:01:26 -05:00
65338972c7 refactored ActiveRecord classes to use Interfaces and traits
this allows us to implement other activerecord implementations based on
NoSQL dbms
2013-11-13 18:42:50 +01:00
c8c7f59d69 Merge branch 'master' into db-traits
Updated AR classes with the latest changes from master to go on with
separation of AR query classes in traits.

Conflicts:
	framework/yii/db/ActiveQuery.php
	framework/yii/db/ActiveRecord.php
	framework/yii/db/ActiveRelation.php
2013-11-13 17:00:52 +01:00
b8e31d50bb renamed AR trait classes 2013-11-13 16:50:30 +01:00
8a4dffed9d fixed ActiveRelation::__clone() to work with via relation 2013-11-12 14:22:07 +01:00
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
3130aadb33 fixed conflicting property declaration 2013-10-29 12:52:52 +01:00
4653526262 moved common parts of db ActiveRelation and Query to traits
these parts can be reused in other ActiveRecord implementations
2013-10-29 12:20:52 +01:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
6488fe47ec Better phpdoc for chained method calls 2013-10-10 13:34:16 +04:00
c2a3aa3d99 Fixes #885: removed NULLs from filtering by models. 2013-09-18 16:18:47 -04:00
cb60fa5ddd Make sure query cloning works as expected. 2013-08-29 17:19:22 -04:00
6dba4da3ed Fixes #828: refactored QueryBuilder::build() 2013-08-29 16:47:48 -04:00
369a5b7b94 Code style ultra-minimum-fix [skip ci] 2013-08-18 02:50:38 -03:00
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00