Commit Graph

25 Commits

Author SHA1 Message Date
Carsten Brandt
65338972c7 refactored ActiveRecord classes to use Interfaces and traits
this allows us to implement other activerecord implementations based on
NoSQL dbms
2013-11-13 18:42:50 +01:00
Carsten Brandt
415144489e made querybuilder condition methods public 2013-11-02 21:36:48 +01:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
43d392d8d2 porting the fix from https://github.com/yiisoft/yii/pull/2894 2013-09-23 07:18:42 -04:00
Alexander Makarov
523a63f576 Added TYPE_BIGPK to Schema 2013-09-15 15:08:43 +04:00
Qiang Xue
2e01c06a4b Fixes #865. 2013-09-10 08:15:46 -04:00
Carsten Brandt
f4fb2d94ef finalizing cubrid Schema 2013-09-05 17:29:47 +02:00
Carsten Brandt
7fa81949bf various documentation changes 2013-09-01 19:47:26 +02:00
Carsten Brandt
4d84e09479 typo in query builder, fixes #832 2013-08-30 16:57:11 +02:00
Qiang Xue
6dba4da3ed Fixes #828: refactored QueryBuilder::build() 2013-08-29 16:47:48 -04:00
Qiang Xue
f941bfee60 Fixes #820. 2013-08-27 08:09:15 -04:00
Qiang Xue
1f5d77790f Fixed test breaks. 2013-07-22 10:54:43 -04:00
Qiang Xue
20bde29f58 Added typecasting for SQL insertion and update. 2013-07-22 10:47:22 -04:00
Qiang Xue
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00
Alexander Makarov
cc0fe1b02c code style fixes 2013-06-13 02:16:48 +04:00
sergey Gonimar
2c02bc918d migrate command, primary key 2013-06-10 20:30:31 +06:00
gevik
c338d4b76b Updated code styling and added braces. 2013-06-09 23:23:51 +02:00
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
2013-06-09 18:27:09 +02:00
gevik
a977d8208e Replaced dropConstraint with dropPrimarykey method. 2013-06-09 14:10:45 +02:00
gevik
3796db7d00 - Ported addPrimaryKey and created dropConstraint.
- The dropConstraint method can be used both for dropPrimaryKey and dropForeignKey
2013-06-09 11:00:15 +02:00
Carsten Brandt
3680a4781d removed unneccessary brackets 2013-06-03 08:28:14 +02:00
Carsten Brandt
7117a6752b Added phpdoc about precision constraints for abstract db types 2013-06-02 22:58:42 +02:00
Carsten Brandt
5c56c0fc02 Better flexibility for abstract db types
Feature was requested in yiisoft/yii#765
2013-06-02 16:05:11 +02:00
resurtm
1f9a46850c MSSQL initial query builder. 2013-05-22 22:25:49 +06:00
Qiang Xue
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00