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.
12 years ago
Qiang Xue
ee994efdf0
polishing debugger.
12 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
12 years ago
Qiang Xue
7fa240be65
initial implementation of Yii debugger.
12 years ago
sergey Gonimar
2c02bc918d
migrate command, primary key
12 years ago
Qiang Xue
4efeedd314
Minor coding style fix.
12 years ago
gevik
c338d4b76b
Updated code styling and added braces.
12 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
12 years ago
Qiang Xue
f5d0bcbcfc
Refactored cache key generation.
12 years ago
Carsten Brandt
689080519e
Added support for previous exceptions
...
PHP supports exception stacks since 5.3 so we should use it.
Also Errorhandler is now able to display the stack: #297
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
d06e785e79
Always enable profiling for DB queries.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Kochetov
d7df7053e0
=== array() => empty()
12 years ago
Qiang Xue
b0cc86dfcd
added Command::getRawSql()
12 years ago
Qiang Xue
597082a11a
Automatic table and column name quoting.
12 years ago
Qiang Xue
6a2bfae41c
use parameter binding for query builder.
12 years ago
Qiang Xue
e7295ad564
Use __METHOD__ as log category.
12 years ago
Qiang Xue
e1acc64b2b
refactoring cache and db references.
12 years ago
Qiang Xue
392b293d33
FragmentCache WIP
12 years ago
Qiang Xue
b3b8fadfcf
minor adjustment of db exception.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
12 years ago
Qiang Xue
a39638515f
Added Command::batchInsert()
12 years ago
Qiang Xue
b181bc1c9f
updated cache key usage.
12 years ago
Qiang Xue
abd3d827a2
refactoring.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
12 years ago
Qiang Xue
9b62fb6786
DB cleanup.
12 years ago
Qiang Xue
1cbfcb1955
clean up
12 years ago
Qiang Xue
e0cd52fb65
moved Connection::getPdoType() to Command.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
fe90d4dda0
implemented auto-quoting for DB commands.
12 years ago
Qiang Xue
2188ece107
refactoring DB
12 years ago
Qiang Xue
9cd67bb6b4
Fixed query and schema caching renamings.
12 years ago
Qiang Xue
9d75714b46
refactored query caching and schema caching.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
a7ecbfee30
Fixing AR issues.
12 years ago