Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
2017-05-08 00:04:37 +02:00
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
2017-05-08 00:04:13 +02:00
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
2017-04-27 10:34:08 -07:00
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
2017-04-11 00:43:38 +03:00
Skiptir Engu
6a7c01de72
Fixed broken link
2017-03-13 16:12:32 -03:00
voroks
25f08afc96
Fixes #8293 : yii\db\Query can be passed to insert method in yii\db\QueryBuilder
2017-01-28 23:47:26 +03:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Alexander Makarov
3d9945958d
Removed accidentally committed leftovers
2016-11-02 14:13:49 +03:00
Alexander Makarov
dd71fa3958
Fixes #4113 : Error page stacktrace was generating links to private methods which are not part of the API docs
2016-11-02 13:42:11 +03:00
SilverFire - Dmitry Naumenko
0fe27b9d3b
Refactored code in PR #9441
2016-04-19 17:48:25 +03:00
SilverFire - Dmitry Naumenko
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
Evgeniy Tkachenko
af9462bd31
Update return phpDoc queryOne & queryScalar.
2016-02-11 16:34:40 +03:00
Carsten Brandt
e43c41c9ea
db layer phpdoc fixes
2016-02-07 16:33:26 +01:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Alexander Makarov
95f251edd1
Fixes #10084 : Improved DB docs
2015-11-04 12:08:18 +03:00
Matvey Vasenin
ce6e92b736
add comment control methods
2015-08-14 12:27:21 +03:00
Michael Härtl
b071587e0a
Improve docs for bindParam() $value
2015-08-04 16:08:38 +02:00
Carsten Brandt
a2568d1ec8
updated some comments and @since annotations
2015-08-02 19:56:49 +02:00
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
2015-08-01 00:30:16 +03:00
Paul Klimov
8e4518c81f
Doc comments updated
2015-06-06 13:05:43 +03:00
Paul Klimov
0bfa2e2673
Reset of refreshTableName on yii\db\Command reuse ensured
2015-06-06 12:58:36 +03:00
Klimov Paul
72f9e63e10
Table schema auto refreshing on DDL added to yii\db\Command
2015-06-04 13:53:11 +03:00
Klimov Paul
0d48f1041e
Fixed yii\db\Command::getRawSql() unable to parse params specified without colon (':')
2015-06-02 13:45:28 +03:00
Alexander Makarov
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
laszlovl
8c22270591
db Command performance tweak
2015-05-03 21:03:55 +02:00
Carsten Brandt
21f51400ef
added information about quoting to batch insert
2015-04-27 10:22:56 +02:00
John Was
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
Qiang Xue
5a63ae324e
Fixes #7211 : Query caching should properly deal with the case when query result is false
2015-02-25 23:06:42 -05:00
Carsten Brandt
8c3dce88dd
fixed phpdoc
2015-02-03 00:03:13 +01:00
Carsten Brandt
8b79293ff2
added missing @since annotations
2014-11-27 18:11:14 +01:00
Andrey Grachov
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
Alexander Makarov
99a818c0b8
Fixes #3630 : yii\db\Command::queryInternal() is now protected
2014-10-24 03:47:20 +04:00
Qiang Xue
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
Qiang Xue
27132ced7c
Fixes #4384 .
2014-07-21 08:20:10 -04:00
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
2014-07-20 20:59:38 -04:00
Qiang Xue
6e6005b148
Refactored code.
2014-07-20 08:01:16 -04:00
Qiang Xue
c16e5e4240
do not switch connection when in a transaction.
2014-07-11 22:39:07 -04:00
Qiang Xue
43333d9cad
Implemented master balancing.
2014-07-11 22:33:36 -04:00
Qiang Xue
91e0c5ae8a
Added Connection::useMaster() and refactored code.
2014-07-11 21:04:26 -04:00
Qiang Xue
e67d0b3c39
WIP
2014-07-11 14:01:44 -04:00
Qiang Xue
2018503c8d
WIP
2014-07-11 12:59:32 -04:00
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Alexander Makarov
bea7cf8449
Moved exception handling to schema
2014-05-07 04:27:21 +04:00
Alexander Makarov
b1d94e5c95
Removed unnecessary instance check, fixed Sphinx schema
2014-05-07 04:04:44 +04:00
Alexander Makarov
ca465eae18
Renamed handleError to handleException
2014-05-06 19:15:18 +04:00
Alexander Makarov
7764086c5d
IntegrityException should be thrown for relational DBs only
2014-05-06 19:07:23 +04:00
Alexander Makarov
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
2014-05-06 18:26:27 +04:00
Qiang Xue
5e9015c89a
Fixes #2968 .
2014-04-07 20:07:25 -04:00
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00