dc01411bea
Fixes #1791
2014-01-07 11:23:35 -05:00
5a703b7ae1
Further cleanup.
2014-01-07 10:06:20 -05:00
5094842370
Fixed test break.
2014-01-07 10:00:53 -05:00
9ceaf3bd1c
Fixes #1791 .
2014-01-07 09:52:07 -05:00
daf6c81f27
Fixes #1791
2014-01-07 08:58:13 -05: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
1654381a3a
support table aliases for ActiveQuery::joinWith().
2014-01-05 14:52:38 -05:00
2d3ac6b4e2
Fixes #1638 : prevent table names from being enclosed within curly brackets twice.
2013-12-26 09:29:46 -05:00
0345191245
Added ActiveQuery::innerJoinWith().
2013-12-24 21:27:13 -05:00
dc720d9bf4
more docs about joinwith()
2013-12-24 09:29:05 -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
56c361bb9e
Fixed changelog.
2013-12-23 14:55:41 -05:00
9649a6727a
Renamed attributeName
and className
to targetAttribute
and targetClass
for UniqueValidator
and ExistValidator
.
...
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
124a73a598
make Query reuseable
...
fixes #1545
2013-12-17 15:51:27 +01:00
2febbebb44
fixed params in Query to allow execution twice
...
fixes #1545
2013-12-17 13:19:54 +01:00
5164a1671c
finalized Query interface + general cleanup
2013-11-25 20:12:45 +01:00
a2fe128455
refactored query and relation.
2013-11-17 00:02:27 -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
b0b1c27c85
Fix phpDoc var tag format
2013-11-12 06:21:04 +02:00
365bdcf68a
FIX: Relation names not mangled in \yii\db\ActiveQuery::normalizeRelations
2013-11-11 16:43:50 +03:00
bc393ff5d3
added doc about sub-relation.
2013-11-07 10:38:12 -05: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
817516adc5
Added missing return
2013-10-10 14:14:30 +04:00
6488fe47ec
Better phpdoc for chained method calls
2013-10-10 13:34:16 +04:00
aede3c9f47
Removed duplicated indexBy declaration.
2013-10-09 08:14:57 -04:00
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
2013-08-29 16:47:48 -04:00
d1ebf65597
Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.
2013-08-02 15:07:23 -04:00
f03cdf0a47
renamed Command::queryRow() to queryOne().
2013-07-09 08:01:10 -04:00
c4a57a9f6c
Refactored Query and ActiveQuery.
...
Finished ActiveDataProvider.
2013-07-09 07:59:08 -04:00
aa568aacb5
Added support for using callables as "ActiveQuery::indexBy".
2013-07-08 21:25:00 -04: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