71 Commits

Author SHA1 Message Date
0fe27b9d3b Refactored code in PR #9441 2016-04-19 17:48:25 +03:00
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
af9462bd31 Update return phpDoc queryOne & queryScalar. 2016-02-11 16:34:40 +03:00
e43c41c9ea db layer phpdoc fixes 2016-02-07 16:33:26 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
95f251edd1 Fixes #10084: Improved DB docs 2015-11-04 12:08:18 +03:00
ce6e92b736 add comment control methods 2015-08-14 12:27:21 +03:00
b071587e0a Improve docs for bindParam() $value 2015-08-04 16:08:38 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
310f9152e1 Fixes #9268: Improved display of boolean parameters in logged SQL queries 2015-08-01 00:30:16 +03:00
8e4518c81f Doc comments updated 2015-06-06 13:05:43 +03:00
0bfa2e2673 Reset of refreshTableName on yii\db\Command reuse ensured 2015-06-06 12:58:36 +03:00
72f9e63e10 Table schema auto refreshing on DDL added to yii\db\Command 2015-06-04 13:53:11 +03:00
0d48f1041e Fixed yii\db\Command::getRawSql() unable to parse params specified without colon (':') 2015-06-02 13:45:28 +03:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
8c22270591 db Command performance tweak 2015-05-03 21:03:55 +02:00
21f51400ef added information about quoting to batch insert 2015-04-27 10:22:56 +02:00
4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00
5a63ae324e Fixes #7211: Query caching should properly deal with the case when query result is false 2015-02-25 23:06:42 -05:00
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