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
gevik
a977d8208e
Replaced dropConstraint with dropPrimarykey method.
12 years ago
gevik
3796db7d00
- Ported addPrimaryKey and created dropConstraint.
...
- The dropConstraint method can be used both for dropPrimaryKey and dropForeignKey
12 years ago
Carsten Brandt
3680a4781d
removed unneccessary brackets
12 years ago
Carsten Brandt
7117a6752b
Added phpdoc about precision constraints for abstract db types
12 years ago
Carsten Brandt
5c56c0fc02
Better flexibility for abstract db types
...
Feature was requested in yiisoft/yii#765
12 years ago
resurtm
1f9a46850c
MSSQL initial query builder.
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
55cc8813c7
Fixes issue #171
12 years ago
Alexander Kochetov
684295fe0b
Fixes
12 years ago
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
12 years ago
Alexander Kochetov
d7df7053e0
=== array() => empty()
12 years ago
Qiang Xue
15b9f97ca4
Fixed typo in query builder and reverted changes to DbCache.php
12 years ago
Qiang Xue
906e402ba8
ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected.
12 years ago
Qiang Xue
6a2bfae41c
use parameter binding for query builder.
12 years ago
Qiang Xue
06feccff8b
refactored query builder.
...
finished Sort.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
54c539dd51
Fixed buildInCondition bug.
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
abd3d827a2
refactoring.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
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
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
1b151818a6
Fixed AR bugs.
12 years ago
Qiang Xue
a7ecbfee30
Fixing AR issues.
12 years ago
Qiang Xue
44af0aa97a
AR wip
12 years ago
Qiang Xue
de35c62c4e
RAR WIP
12 years ago
Alexander Makarov
faaff8989c
better conversion to array
12 years ago
Qiang Xue
794df81628
renamed order and group to orderBy and groupBy
12 years ago
Qiang Xue
fee2c998f8
updated the default value of scenarios()
12 years ago
Qiang Xue
b7a7800fec
Fixed constructors.
12 years ago
Qiang Xue
409c508f78
...
13 years ago
Qiang Xue
b90f94fe9a
finished eager loading.
13 years ago
Qiang Xue
769a114d39
renamed groupBy and orderBy to be group and order.
13 years ago
Qiang Xue
d794a813ec
...
13 years ago
Qiang Xue
965fe5c4d2
...
13 years ago
Qiang Xue
cf10943cd3
...
13 years ago
Qiang Xue
37220ee8c6
...
13 years ago
Qiang Xue
c5cdcab6c6
...
13 years ago
Qiang Xue
1978a4efca
...
13 years ago
Qiang Xue
a00afed163
...
13 years ago
Qiang Xue
702476d886
...
13 years ago
Qiang Xue
1295fbe2bc
...
13 years ago
Qiang Xue
bcd884adb4
...
13 years ago
Qiang Xue
d75d932656
...
13 years ago