Commit Graph

350 Commits

Author SHA1 Message Date
qiang.xue
dc99b7cdeb (Fixes issue 1868) 2011-03-14 00:28:38 +00:00
alexander.makarow
487cc6f600 Reverted relational AR optimizations causing side effects 2011-03-13 19:17:54 +00:00
qiang.xue
064eb0078f (Fixes issue 1993) 2011-03-13 13:09:46 +00:00
qiang.xue
5021da7a62 (Fixes issue 2197) 2011-03-13 13:04:10 +00:00
qiang.xue
c0889ed1e9 (Fixes issue 2000) 2011-03-12 21:56:01 +00:00
qiang.xue
03d09cdf6a (Fixes issue 2107) 2011-03-12 14:06:38 +00:00
qiang.xue
a303e6d498 (Fixes issue 2094) 2011-03-11 22:34:47 +00:00
qiang.xue
1750987fcd (Fixes issue 2111) 2011-03-11 20:09:47 +00:00
alexander.makarow
3ffed1c62a (Fixes issue 2188) 'join' in default scopes is now respected by STAT relations 2011-03-09 18:56:01 +00:00
qiang.xue
63a27f3e4a Allow the AS keyword to be optional when specifying column alias in query builder. 2011-03-07 13:21:24 +00:00
qiang.xue
2b69df1608 (Fixes issue 2178) 2011-03-07 13:16:11 +00:00
qiang.xue
49e2e674a7 (Fixes issue 2172) 2011-03-07 04:43:49 +00:00
qiang.xue
6e353740a4 * Added transaction support for the DB migration feature. 2011-03-04 17:16:49 +00:00
alexander.makarow
1c1fd44527 - All lazy/eager loading types are now supported for through.
- Some performance optimizations and refactorings.
- Less queries when getting a model with more than two HAS_MANY and using limit.
2011-03-04 13:15:17 +00:00
alexander.makarow
78bf76d3ae (Fixes issue 1117) Added support for "through" in Active Record relations allowing to handle association table data 2011-02-28 17:19:09 +00:00
alexander.makarow
9908f3e071 Fixed joinType regression in relational AR 2011-02-26 18:15:19 +00:00
alexander.makarow
286d95aac3 Added ability to perform Relational JOIN without getting related models 2011-02-25 22:54:03 +00:00
alexander.makarow
2ab981b454 reverted method chaining support 2011-02-24 16:42:44 +00:00
alexander.makarow
75041e8620 Chained calls are now possible for most framework class setters and methods not returning a value 2011-02-23 20:20:28 +00:00
alexander.makarow
271160c065 2011-02-23 13:03:07 +00:00
alexander.makarow
00b28076b6 rolled back r2994 2011-02-23 11:56:11 +00:00
alexander.makarow
44b310c295 The 'condition' declared in the scopes of the related AR classes will now be put in the 'WHERE' clause when performing relational AR queries 2011-02-23 02:35:14 +00:00
alexander.makarow
8ffea45016 CActiveFinder: less memory consumption, less code 2011-02-22 23:43:15 +00:00
alexander.makarow
486acc4f5c (Fixes issue 558) Added parametrized named scopes, added scopes to criteria, implemented scope criteria merging 2011-02-19 00:11:00 +00:00
alexander.makarow
e19e09391f 2011-02-17 19:38:58 +00:00
qiang.xue
fd7d3dc138 fixed doc error. 2011-02-17 02:56:49 +00:00
alexander.makarow
b7789909dd (Fixes issue 1080) Correct recursive merging for CDbCriteria::with 2011-02-15 11:23:50 +00:00
alexander.makarow
5fe8ca334a (Fixes issue 2099) Fixed CDbCriteria::mergeWith error 2011-02-14 20:40:45 +00:00
alexander.makarow
f2abf4911d 2011-02-12 20:43:40 +00:00
alexander.makarow
1d157b218d (Fixes issue 2011) Added CDbCommand::setFetchMode to allow setting PDO result fetching mode 2011-02-11 22:30:05 +00:00
qiang.xue
22621c5d08 * Added support for query caching. 2011-02-11 03:48:01 +00:00
alexander.makarow
6c27e008d7 2011-02-04 15:08:03 +00:00
alexander.makarow
8316b78385 Fixed resetting sequence in CDbCommand::truncateTable 2011-02-04 14:53:50 +00:00
qiang.xue
c2e37f3f9d typo fix. 2011-02-03 18:33:38 +00:00
qiang.xue
95bf4211cd fixed a typo in CDbConnection. 2011-01-17 13:05:46 +00:00
qiang.xue
8d7f150fe2 (Fixes issue 1995) 2011-01-14 13:42:14 +00:00
alexander.makarow
34e9a848cd 2011-01-13 21:52:16 +00:00
alexander.makarow
fdda26ddfa (Fixes issue 1875) Added support for CLDR-based plural forms format to Yii::t 2011-01-13 01:29:55 +00:00
alexander.makarow
323618f5cc isset($model->x) and isset($model['x']) are now identical for CActiveRecord models 2011-01-07 05:07:34 +00:00
qiang.xue
bff9591cd0 2011-01-06 17:41:53 +00:00
qiang.xue
3588961dde (Fixes issue 1771) 2011-01-06 16:57:10 +00:00
qiang.xue
793415ac14 (Fixes issue 997) 2011-01-06 16:36:15 +00:00
qiang.xue
02980e7edd undo fixes of 1777 2011-01-05 19:18:55 +00:00
qiang.xue
93e8aededc 2011-01-04 15:14:18 +00:00
qiang.xue
f7520ace09 CMssqlSchema::findTableNames() will only return base tables now. 2011-01-04 04:14:57 +00:00
qiang.xue
1a81456dcb 2011-01-04 02:59:17 +00:00
qiang.xue
f03c216248 2011-01-04 02:51:55 +00:00
qiang.xue
8f156e905c 2011-01-04 01:42:28 +00:00
qiang.xue
6d4f5c4c83 (Fixes issue 1777) 2011-01-03 20:22:39 +00:00
qiang.xue
42436761bd changed like operands. 2011-01-02 01:14:27 +00:00