Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
12 years ago
Qiang Xue
aa568aacb5
Added support for using callables as "ActiveQuery::indexBy".
12 years ago
Qiang Xue
f2e57b2eec
Fixed test breaks.
12 years ago
Carsten Brandt
1df859cfa1
typo: primarykey -> primaryKey
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
Carsten Brandt
af68ee9d27
Sqlite unit test for abstract db types
12 years ago
Carsten Brandt
c28b0183a5
whitespace
12 years ago
Carsten Brandt
5c56c0fc02
Better flexibility for abstract db types
...
Feature was requested in yiisoft/yii#765
12 years ago
Gevik Babakhani
4602b575ad
Save point: WIP implementing db schema functionality.
12 years ago
Gevik Babakhani
c30eae62d2
Added initial unit testing files for the pgsql driver.
12 years ago
Alexander Makarov
7cd9123c3b
Tests cleanup
...
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
12 years ago
resurtm
8e1079cd04
MSSQL more tests.
12 years ago
resurtm
2430ebe95d
MSSQL AR tests.
12 years ago
resurtm
90395b5df2
Refinements to MSSQL driver classes.
12 years ago
Carsten Brandt
baac7e14df
moved classes from framework -> yii
12 years ago
Carsten Brandt
cb8f5d702f
cleanup tests
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
resurtm
5c101ae314
Initial MSSQL tests.
12 years ago
Rusinov Maxim
452be102c6
Added newline at end files.
12 years ago
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Carsten Brandt
79982c9848
Redis Insert, Update, Delete and Find is ready and roughly unit tested
...
relations are not working yet
12 years ago
Qiang Xue
597082a11a
Automatic table and column name quoting.
12 years ago
Carsten Brandt
0d2f5028ef
Finished Redis Connection class
12 years ago
Carsten Brandt
8e74add1e7
Redis connection implementation
12 years ago
Qiang Xue
06feccff8b
refactored query builder.
...
finished Sort.
12 years ago
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
12 years ago
Qiang Xue
b51d347465
Added count, average, sum, min, max, scalar methods to ActiveQuery.
...
Added support for scopes defined in AR classes.
12 years ago
Qiang Xue
9958a5802e
DB cleanup
12 years ago
Qiang Xue
736d30684e
refactored the active property of Connection and Transaction.
...
refactored Transaction.
12 years ago
Qiang Xue
e0cd52fb65
moved Connection::getPdoType() to Command.
12 years ago
Qiang Xue
5d90e6da80
removed scopes.
...
finished AR documentation.
12 years ago
Qiang Xue
3ca50f3043
clean up AR
12 years ago
Qiang Xue
46ab456f4e
finished new AR.
12 years ago
Qiang Xue
c9b104f0a1
refactored AR relation.
12 years ago
Qiang Xue
0e3e2698d7
cleanup of AR
12 years ago
Qiang Xue
fe90d4dda0
implemented auto-quoting for DB commands.
12 years ago
Qiang Xue
d15378ef43
moved db tests.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
0cd6b346b6
refactoring AR
12 years ago
Qiang Xue
23572c74cd
refactoring AR.
12 years ago
Qiang Xue
1b151818a6
Fixed AR bugs.
12 years ago
Qiang Xue
a7ecbfee30
Fixing AR issues.
12 years ago
Qiang Xue
a8be9ce412
new AR WIP
12 years ago
Qiang Xue
377181a008
new AR WIP
12 years ago
Qiang Xue
8c26893992
Implemented new scope declaration syntax.
13 years ago
Qiang Xue
0fd8212356
support using anonymous function to customize relational queries.
13 years ago
Qiang Xue
ed513b4da9
...
13 years ago
Qiang Xue
5ddc1ba18a
Finished AR query.
13 years ago