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
10 years ago
Qiang Xue
5a63ae324e
Fixes #7211 : Query caching should properly deal with the case when query result is false
10 years ago
Carsten Brandt
8c3dce88dd
fixed phpdoc
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Andrey Grachov
25a7c84ef2
Fixes #6271 : Query caching returns the same data when running the same SQL with different fetch modes
10 years ago
Alexander Makarov
99a818c0b8
Fixes #3630 : `yii\db\Command::queryInternal()` is now protected
10 years ago
Qiang Xue
613d3071a7
Fixes #5106 : Refactored query caching to not load cache component when query caching is not used at all.
10 years ago
Qiang Xue
27132ced7c
Fixes #4384 .
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Qiang Xue
6e6005b148
Refactored code.
10 years ago
Qiang Xue
c16e5e4240
do not switch connection when in a transaction.
10 years ago
Qiang Xue
43333d9cad
Implemented master balancing.
10 years ago
Qiang Xue
91e0c5ae8a
Added Connection::useMaster() and refactored code.
10 years ago
Qiang Xue
e67d0b3c39
WIP
10 years ago
Qiang Xue
2018503c8d
WIP
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Alexander Makarov
bea7cf8449
Moved exception handling to schema
11 years ago
Alexander Makarov
b1d94e5c95
Removed unnecessary instance check, fixed Sphinx schema
11 years ago
Alexander Makarov
ca465eae18
Renamed handleError to handleException
11 years ago
Alexander Makarov
7764086c5d
IntegrityException should be thrown for relational DBs only
11 years ago
Alexander Makarov
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
11 years ago
Qiang Xue
5e9015c89a
Fixes #2968 .
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
76f6896b22
doc fix. [skip ci]
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
28dc23ddac
Fixed the issue that query cache returns the same data for the same SQL but different query methods
11 years ago
Qiang Xue
1e0e5f02af
Fixed DB query logging category.
11 years ago
Mark
65b543f68f
fixed bug with forgotten param, fixed behavior for one table integrity
11 years ago
Qiang Xue
3b5768b40a
avoid throwing the same type of new db exception.
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Qiang Xue
23573968a6
Changed important log messages to info level
11 years ago
Qiang Xue
b700f7129e
fixes #1142 : exposes Command::params.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
8899aaeb5b
moved getPdoType() to Schema.
11 years ago
Carsten Brandt
ee89134ffe
make db\Command::getPdoType() protected
...
fixes #964
11 years ago
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
11 years ago
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
11 years ago
Carsten Brandt
c6ef7ec9d5
moved Command::getPdoType() to Schema
...
this allows different implementation in different DBMS
CUBRID does not supprt PDO::TYPE_BOOL, so we use STRING here which will
be casted by the DBMS
11 years ago
Carsten Brandt
f4fb2d94ef
finalizing cubrid Schema
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
c582e589d2
added note about differing property types
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
d1c41fe144
changed to trace from info.
11 years ago
Qiang Xue
d135631f8e
Avoid logging db errors repeatedly.
11 years ago
Qiang Xue
cace50cf3b
use raw SQL for profiling.
11 years ago