Commit Graph

465 Commits

Author SHA1 Message Date
Carsten Brandt
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
Carsten Brandt
29cacc8a05 added mysql blob and longblob to the list
issue #613
2014-06-25 04:20:37 +02:00
Carsten Brandt
1391253a58 fixed postgres default value parsing 2014-06-25 04:09:03 +02:00
Carsten Brandt
651e6a3feb added support for BIT default values
fixes #422
2014-06-25 03:37:39 +02:00
Carsten Brandt
4f95fcd91f added unit tests for schema detection
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
Carsten Brandt
6ad244185a missing return
[ci skip]
2014-06-24 03:54:01 +02:00
Carsten Brandt
cc8a8360cb added unit test and notes about dbms specific settings 2014-06-24 03:11:34 +02:00
Carsten Brandt
bbbe2a3e4b Added support for transaction isolation levels
fixes #3220
2014-06-23 19:47:56 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Klimov Paul
166465ec7a MigrationInterface extracted 2014-06-17 18:00:22 +03:00
Carsten Brandt
871ae29c9c call asArray() instead of assign directly
fixes #3891
2014-06-16 08:49:16 +02:00
Carsten Brandt
20483e25db added reference link to SQL error code
[ci skip]
2014-06-12 15:11:48 +02:00
Carsten Brandt
9430ccd095 more robust check for table not exists
should work on HHVM too
2014-06-12 14:46:13 +02:00
Carsten Brandt
a836ec177a Merge PR #3751 branch 'master' of https://github.com/makroxyz/yii2
* 'master' of https://github.com/makroxyz/yii2:
  Fix PostgreSQL enumValues
2014-06-09 15:25:52 +02:00
Qiang Xue
ce49416e32 Fixes #3752: QueryBuilder::batchInsert() does not typecast input values 2014-06-09 08:12:08 -04:00
Alexander Makarov
de8ba90019 Revert "Fixes #3744: yii\db\Connection now skips bindValues if there are no parameters to bind"
This reverts commit ea10ba4938.
2014-06-09 16:05:13 +04:00
makroxyz
458c4a6623 Fix PostgreSQL enumValues
$column->enumValues is set to array[0 =>''] even if $info['enum_values'] is null.
Gii generates always dropDownList in forms.
2014-06-09 12:29:39 +02:00
Alexander Makarov
ea10ba4938 Fixes #3744: yii\db\Connection now skips bindValues if there are no parameters to bind 2014-06-09 02:35:29 +04:00
Alexander Makarov
714f27ab22 Fixes #3241 2014-06-09 02:30:48 +04:00
Alexander Makarov
b01e6de9bc Fixes #3399: Added support for MS SQL Server older than 2012 2014-06-09 02:29:57 +04:00
Alexander Makarov
a4f23f1cba Merge branch 'patch-1' of github.com:fourteenmeister/yii2 into fourteenmeister-patch-1 2014-06-09 02:13:04 +04:00
Alexander Makarov
03efbc4ca8 Added getDb() to ActiveRecordInterface in order for BaseActiveRecord to have stricter contract 2014-06-09 01:11:11 +04:00
Carsten Brandt
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
a5c4a0ebb4 Adjusted BaseActiveRecord code for better noSQL compatibility 2014-06-02 20:13:48 +04:00
Alexander Makarov
4624793954 Merge branch 'unlinkAll' of github.com:NmDimas/yii2 into NmDimas-unlinkAll
Conflicts:
	framework/CHANGELOG.md
2014-06-02 17:38:15 +04:00
Alexander Kochetov
ce1e469751 ActiveQuery::one() slight refactoring 2014-06-01 02:34:48 +04:00
Qiang Xue
f23b7ac57e Fixes #3564 2014-05-26 19:12:56 -04:00
Carsten Brandt
d75f0c7288 removed @link tags from apidoc and replaced with markdown 2014-05-25 22:29:31 +02:00
Carsten Brandt
18190b7348 fixes #3473, allow precision in pgsql abstract timestamp 2014-05-25 19:20:57 +02:00
Carsten Brandt
6fd25815ba added more types to pgsql schema, better detection
fixes #3578
2014-05-25 10:21:23 +02:00
zeeke
5174ea6dfb SQLite support for disable integrity check
This is a porting from yii framework version 1.
I need it to run functional tests with fixtures.
2014-05-24 14:19:11 +02:00
Qiang Xue
f5dbd9a084 Fixes #3564: Fixed the bug that primary key columns should not take default values from schema 2014-05-23 10:35:20 -04:00
Qiang Xue
6e7713ec13 Fixes #3567: Fixed the bug that smallint was treated as string for PostgreSQL 2014-05-23 10:25:16 -04:00
NmDimas
5599a86a81 Add support all type relation 2014-05-22 00:53:12 +03:00
NmDimas
e11ec66b06 add change to CHANGELOG,and mini refactoring 2014-05-20 22:20:51 +03:00
NmDimas
a047bf2cd6 Method to unlink all relationship many to many in current model 2014-05-20 21:39:16 +03:00
Carsten Brandt
d622442acf improved debugger on handling unreadable files
issue #3494
2014-05-17 14:43:47 +02:00
Fourteenmeister
f98c414cd1 Update QueryBuilder.php
solution used **heukirne** for the names of columns.
2014-05-15 12:03:50 +09:00
Qiang Xue
f648d0b1ac Revert "Fixes #3469: Fixed the bug that QueryBuilder::getColumnType() may drop the provided column precision in certain cases"
This reverts commit a46efe79c6.
2014-05-14 11:40:58 -04:00
Qiang Xue
3411504508 Revert "Fixed test break."
This reverts commit 70b57766b1.
2014-05-14 11:40:46 -04:00
Qiang Xue
70b57766b1 Fixed test break. 2014-05-14 11:29:48 -04:00
Qiang Xue
a46efe79c6 Fixes #3469: Fixed the bug that QueryBuilder::getColumnType() may drop the provided column precision in certain cases 2014-05-14 10:28:41 -04:00
Fourteenmeister
f46c706033 Update QueryBuilder.php
fix error occurs when you use multiple databases.
2014-05-14 10:20:57 +09:00
Fourteenmeister
b36b9bfdad fix error
fix error when if fields whose names are reserved word
2014-05-13 10:41:29 +09:00
Carsten Brandt
9e0a157fa5 improved docs for AR::findAll() 2014-05-12 01:19:55 +02:00
Fourteenmeister
3e45097126 MS SQL Server fix for older versions than 2012 (alternative solution)
This alternative solution LIMIT, OFFSET problem SQL Server version older than 2012.
2014-05-08 13:04:36 +09:00
Alexander Makarov
8886fb235f Fixed handleException method visibility, removed unnecessary slashes from FQN 2014-05-07 20:56:51 +04:00
Alexander Makarov
bea7cf8449 Moved exception handling to schema 2014-05-07 04:27:21 +04:00
Alexander Makarov
b1d94e5c95 Removed unnecessary instance check, fixed Sphinx schema 2014-05-07 04:04:44 +04:00
Alexander Makarov
ca465eae18 Renamed handleError to handleException 2014-05-06 19:15:18 +04:00