Commit Graph

452 Commits

Author SHA1 Message Date
Qiang Xue
55cc8813c7 Fixes issue #171 2013-05-07 19:31:35 -04:00
Alexander Kochetov
684295fe0b Fixes 2013-05-07 20:11:31 +04:00
Alexander Kochetov
48d04fbb8c !== array() => !empty() 2013-05-07 19:57:27 +04:00
Alexander Kochetov
d7df7053e0 === array() => empty() 2013-05-07 19:51:29 +04:00
Qiang Xue
901dabc301 Merge pull request #162 from creocoder/active-record-get-relation
ActiveRecord::getRelation() bugfix
2013-05-07 07:51:49 -07:00
Alexander Kochetov
e3f6faf575 && => || fix 2013-05-07 18:40:31 +04:00
Alexander Kochetov
37f3a400cd ActiveRecord::getRelation() bugfix 2013-05-07 18:36:38 +04:00
Alexander Kochetov
f12518f45c ActiveRecord::insert() and ActiveRecord::update() refactoring 2013-05-07 18:10:50 +04:00
Qiang Xue
f3c17594c6 Fixes issue #155. 2013-05-07 07:18:39 -04:00
Qiang Xue
034d88e5e4 Fixes issue #134 2013-05-06 08:04:35 -04:00
resurtm
e9ad7d6e36 Rollback word consistencty over entire codebase (ref. #139). 2013-05-06 17:46:34 +06:00
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Qiang Xue
6166e70f20 Fixes issue #80 2013-05-04 20:17:43 -04:00
Alexander Kochetov
ddf67f0833 Code style fix 2013-05-05 03:18:37 +04:00
Alexander Makarov
03cd47aed9 phpdoc typos 2013-05-05 01:26:40 +04:00
Qiang Xue
15b9f97ca4 Fixed typo in query builder and reverted changes to DbCache.php 2013-04-23 16:48:14 -04:00
Alexander Makarov
3e2e4afa85 fixed DB quoting typo 2013-04-23 14:15:22 +04:00
Qiang Xue
2026d3824b allow using existing column to store lock version. 2013-04-01 08:32:52 -04:00
Qiang Xue
c6a1327897 renamed lockVersion to optimisticLock 2013-03-31 22:09:13 -04:00
Qiang Xue
7de94d7fe9 Implemented optimistic locking for AR. 2013-03-31 22:03:51 -04:00
Qiang Xue
906e402ba8 ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected. 2013-03-31 21:20:42 -04:00
Qiang Xue
b0cc86dfcd added Command::getRawSql() 2013-03-30 21:39:31 -04:00
Qiang Xue
597082a11a Automatic table and column name quoting. 2013-03-30 18:28:54 -04:00
Qiang Xue
6a2bfae41c use parameter binding for query builder. 2013-03-29 23:32:34 -04:00
Qiang Xue
e7295ad564 Use __METHOD__ as log category. 2013-03-28 20:07:49 -04:00
Qiang Xue
1fbf81be57 User WIP. 2013-03-28 17:43:27 -04:00
Qiang Xue
e1acc64b2b refactoring cache and db references. 2013-03-27 17:09:18 -04:00
Qiang Xue
392b293d33 FragmentCache WIP 2013-03-25 14:27:15 -04:00
Qiang Xue
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
Qiang Xue
30d70be071 Finished Html helper. 2013-03-10 22:00:26 -04:00
Qiang Xue
06feccff8b refactored query builder.
finished Sort.
2013-03-06 10:51:33 -05:00
Qiang Xue
5f774db6d1 sort WIP 2013-03-05 16:34:02 -05:00
Qiang Xue
b3b8fadfcf minor adjustment of db exception. 2013-03-05 07:47:49 -05:00
Qiang Xue
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
Qiang Xue
f68bed0ccb fixed exception. 2013-03-03 10:19:22 -05:00
Qiang Xue
54c539dd51 Fixed buildInCondition bug. 2013-02-07 15:46:15 -05:00
Qiang Xue
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
Qiang Xue
3c1452e84b Changed the separator of message category. 2013-02-05 11:48:35 -05:00
Qiang Xue
54ee8c44a0 refactored exceptions.
I18N WIP.
2013-02-04 16:39:19 -05:00
Qiang Xue
7aa80d86f5 refactored execute() and query() methods in db/Command. 2013-02-01 17:18:49 -05:00
Carsten Brandt
4726cf32f3 Copy paste error commit() -> rollBack() 2013-02-01 22:24:09 +01:00
Carsten Brandt
da0ef127b5 proof reading docs, fixed event order in AR 2013-02-01 18:06:21 +01:00
Qiang Xue
a39638515f Added Command::batchInsert() 2013-02-01 08:42:43 -05:00
Qiang Xue
761a9f4472 exception cleanup. 2013-02-01 07:53:32 -05:00
Qiang Xue
9165a1592a cleanup. 2013-01-29 09:01:38 -05:00
Qiang Xue
76b153a368 fixed event doc. 2013-01-20 13:37:16 -05:00
Qiang Xue
edc48dc9c7 removed ApplicationComponent. 2013-01-20 11:26:15 -05:00
Qiang Xue
373e6a705e refactored event declaration convention. 2013-01-18 22:01:08 -05:00
Qiang Xue
b181bc1c9f updated cache key usage. 2013-01-18 18:36:43 -05:00
Qiang Xue
abd3d827a2 refactoring. 2013-01-18 10:37:22 -05:00