52 Commits

Author SHA1 Message Date
8c3dce88dd fixed phpdoc 2015-02-03 00:03:13 +01:00
8b79293ff2 added missing @since annotations 2014-11-27 18:11:14 +01:00
25a7c84ef2 Fixes #6271: Query caching returns the same data when running the same SQL with different fetch modes 2014-11-26 11:10:55 -05:00
99a818c0b8 Fixes #3630: yii\db\Command::queryInternal() is now protected 2014-10-24 03:47:20 +04:00
613d3071a7 Fixes #5106: Refactored query caching to not load cache component when query caching is not used at all. 2014-09-23 20:59:51 -04:00
27132ced7c Fixes #4384. 2014-07-21 08:20:10 -04:00
a3e2b94adf Fixes #3611: Refactored query caching. 2014-07-20 20:59:38 -04:00
6e6005b148 Refactored code. 2014-07-20 08:01:16 -04:00
c16e5e4240 do not switch connection when in a transaction. 2014-07-11 22:39:07 -04:00
43333d9cad Implemented master balancing. 2014-07-11 22:33:36 -04:00
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
2018503c8d WIP 2014-07-11 12:59:32 -04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
bea7cf8449 Moved exception handling to schema 2014-05-07 04:27:21 +04:00
b1d94e5c95 Removed unnecessary instance check, fixed Sphinx schema 2014-05-07 04:04:44 +04:00
ca465eae18 Renamed handleError to handleException 2014-05-06 19:15:18 +04:00
7764086c5d IntegrityException should be thrown for relational DBs only 2014-05-06 19:07:23 +04:00
ca23cd8a2c Implemented throwing \yii\db\IntegrityException on DB integrity errors 2014-05-06 18:26:27 +04:00
5e9015c89a Fixes #2968. 2014-04-07 20:07:25 -04:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
76f6896b22 doc fix. [skip ci] 2014-02-16 13:41:17 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
d7df7053e0 === array() => empty() 2013-05-07 19:51:29 +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
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
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
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
7aa80d86f5 refactored execute() and query() methods in db/Command. 2013-02-01 17:18:49 -05:00
a39638515f Added Command::batchInsert() 2013-02-01 08:42:43 -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
6ed01e9645 DB cleanup. 2013-01-18 08:35:09 -05:00
9b62fb6786 DB cleanup. 2013-01-17 08:46:08 -05:00
1cbfcb1955 clean up 2013-01-15 20:52:29 -05:00
e0cd52fb65 moved Connection::getPdoType() to Command. 2013-01-15 18:32:08 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
fe90d4dda0 implemented auto-quoting for DB commands. 2013-01-06 22:41:20 -05:00
2188ece107 refactoring DB 2013-01-05 21:20:13 -05:00
9cd67bb6b4 Fixed query and schema caching renamings. 2013-01-05 17:19:08 -05:00