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
Qiang Xue
ee994efdf0
polishing debugger.
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
11 years ago
Qiang Xue
7fa240be65
initial implementation of Yii debugger.
11 years ago
sergey Gonimar
2c02bc918d
migrate command, primary key
11 years ago
Qiang Xue
4efeedd314
Minor coding style fix.
11 years ago
gevik
c338d4b76b
Updated code styling and added braces.
11 years ago
gevik
f667b5785b
- Added drop/add primary key methods to Command.php
...
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
11 years ago