187 Commits

Author SHA1 Message Date
15b9f97ca4 Fixed typo in query builder and reverted changes to DbCache.php 2013-04-23 16:48:14 -04:00
3e2e4afa85 fixed DB quoting typo 2013-04-23 14:15:22 +04:00
2026d3824b allow using existing column to store lock version. 2013-04-01 08:32:52 -04:00
c6a1327897 renamed lockVersion to optimisticLock 2013-03-31 22:09:13 -04:00
7de94d7fe9 Implemented optimistic locking for AR. 2013-03-31 22:03:51 -04:00
906e402ba8 ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected. 2013-03-31 21:20:42 -04:00
b0cc86dfcd added Command::getRawSql() 2013-03-30 21:39:31 -04:00
597082a11a Automatic table and column name quoting. 2013-03-30 18:28:54 -04:00
6a2bfae41c use parameter binding for query builder. 2013-03-29 23:32:34 -04:00
e7295ad564 Use __METHOD__ as log category. 2013-03-28 20:07:49 -04:00
1fbf81be57 User WIP. 2013-03-28 17:43:27 -04:00
e1acc64b2b refactoring cache and db references. 2013-03-27 17:09:18 -04:00
392b293d33 FragmentCache WIP 2013-03-25 14:27:15 -04:00
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
30d70be071 Finished Html helper. 2013-03-10 22:00:26 -04:00
06feccff8b refactored query builder.
finished Sort.
2013-03-06 10:51:33 -05:00
5f774db6d1 sort WIP 2013-03-05 16:34:02 -05:00
b3b8fadfcf minor adjustment of db exception. 2013-03-05 07:47:49 -05:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
f68bed0ccb fixed exception. 2013-03-03 10:19:22 -05:00
54c539dd51 Fixed buildInCondition bug. 2013-02-07 15:46:15 -05:00
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
3c1452e84b Changed the separator of message category. 2013-02-05 11:48:35 -05:00
54ee8c44a0 refactored exceptions.
I18N WIP.
2013-02-04 16:39:19 -05:00
7aa80d86f5 refactored execute() and query() methods in db/Command. 2013-02-01 17:18:49 -05:00
4726cf32f3 Copy paste error commit() -> rollBack() 2013-02-01 22:24:09 +01:00
da0ef127b5 proof reading docs, fixed event order in AR 2013-02-01 18:06:21 +01:00
a39638515f Added Command::batchInsert() 2013-02-01 08:42:43 -05:00
761a9f4472 exception cleanup. 2013-02-01 07:53:32 -05:00
9165a1592a cleanup. 2013-01-29 09:01:38 -05:00
76b153a368 fixed event doc. 2013-01-20 13:37:16 -05:00
edc48dc9c7 removed ApplicationComponent. 2013-01-20 11:26:15 -05:00
373e6a705e refactored event declaration convention. 2013-01-18 22:01:08 -05:00
b181bc1c9f updated cache key usage. 2013-01-18 18:36:43 -05:00
abd3d827a2 refactoring. 2013-01-18 10:37:22 -05:00
7f6a5568b4 Cleaned up SQLite support. 2013-01-18 09:40:00 -05:00
6ed01e9645 DB cleanup. 2013-01-18 08:35:09 -05:00
6dd495b65f Added init and afterFind events to AR.
Implemented scope support.
2013-01-17 20:58:50 -05:00
ed8b795295 renamed exception classes. 2013-01-17 19:55:10 -05:00
b51d347465 Added count, average, sum, min, max, scalar methods to ActiveQuery.
Added support for scopes defined in AR classes.
2013-01-17 19:26:20 -05:00
ebecc09839 DB refactoring. 2013-01-17 16:15:12 -05:00
9958a5802e DB cleanup 2013-01-17 12:54:13 -05:00
9b62fb6786 DB cleanup. 2013-01-17 08:46:08 -05:00
1cbfcb1955 clean up 2013-01-15 20:52:29 -05:00
b22e3b9f69 added 'afterOpen' event to Connection. 2013-01-15 20:19:35 -05:00
e150b7fae7 renamed Driver to Schema. 2013-01-15 20:16:27 -05:00
736d30684e refactored the active property of Connection and Transaction.
refactored Transaction.
2013-01-15 19:13:39 -05:00
e0cd52fb65 moved Connection::getPdoType() to Command. 2013-01-15 18:32:08 -05:00
5d90e6da80 removed scopes.
finished AR documentation.
2013-01-14 20:19:08 -05:00
cc33a930c9 Finished AR API. 2013-01-13 21:17:45 -05:00