30 Commits

Author SHA1 Message Date
cbad97c78d change back the visibility of findTableNames to protected. 2013-12-29 09:51:36 -05:00
e23f869c69 added postgresql features to reset seq/check integrity 2013-12-27 09:42:51 +04:00
166f8aa582 Fix wrong array index in unique indexes for MySql 2013-12-25 20:25:29 -03:00
89f0bfe100 Making accesors public 2013-12-25 18:27:54 -03:00
d376da57e4 Get DB unique indexes information 2013-12-25 18:08:50 -03:00
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
6920da4a80 fixed limit/offset for sqlite,mysql and cubrid
tests for this are on elasticsearch branch (due to huge refactoring
there) and will come later by merge
2013-11-24 19:22:51 +01:00
69fa7bab6b Fixes #1307: move batchInsert() to base class. 2013-11-23 20:44:36 -05:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
43d15155c6 cleanup db use statements 2013-09-17 10:01:01 +02:00
4a9efc9e75 Corrected schema used for MySQL 2013-09-15 15:18:38 +04:00
523a63f576 Added TYPE_BIGPK to Schema 2013-09-15 15:08:43 +04:00
6fe152da7e Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords. 2013-09-13 20:13:46 -04:00
0bf2daddd5 changed querybuilder typemap to lower case 2013-09-13 17:49:29 +02:00
8ca17bbfbc Merge pull request #847 from yiisoft/cubrid
[WIP] Cubrid db support
2013-09-06 07:14:41 -07:00
f4fb2d94ef finalizing cubrid Schema 2013-09-05 17:29:47 +02:00
267f2d7849 fixed docs in db Schema classes 2013-09-05 16:47:05 +02:00
1f5d77790f Fixed test breaks. 2013-07-22 10:54:43 -04:00
20bde29f58 Added typecasting for SQL insertion and update. 2013-07-22 10:47:22 -04:00
f03cdf0a47 renamed Command::queryRow() to queryOne(). 2013-07-09 08:01:10 -04:00
4efeedd314 Minor coding style fix. 2013-06-09 17:46:41 -04:00
c338d4b76b Updated code styling and added braces. 2013-06-09 23:23:51 +02:00
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
9d6f11d5d5 new way of detecting if table exists. 2013-06-04 19:34:51 -04:00
2376730452 better check of existence of tables. 2013-06-04 18:11:50 -04:00
5c56c0fc02 Better flexibility for abstract db types
Feature was requested in yiisoft/yii#765
2013-06-02 16:05:11 +02:00
94b2d17031 Fixes issue #460 2013-05-30 07:35:03 -04:00
1f9a46850c MSSQL initial query builder. 2013-05-22 22:25:49 +06:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00