Carsten Brandt
1085f1bd9b
cleanup after #4092
...
fixes #4086
2014-06-29 13:29:23 +02:00
Vladimir Zbrailov
7113a23a45
change PhpDoc of param
2014-06-27 18:59:44 +04:00
Vladimir Zbrailov
44f20c61a0
changedAttributes of AfterSaveEvent contain an old values
2014-06-27 18:51:21 +04:00
Carsten Brandt
27943ce735
Merge pull request #4063 from yiisoft/typecast-split
...
split typecast method into two
2014-06-27 02:14:31 +02:00
Carsten Brandt
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
2014-06-27 02:12:59 +02:00
Qiang Xue
4969f51e3f
Fixes #3221 : Added events for DB transaction commit/rollback
2014-06-26 16:08:18 -04:00
Alexander Makarov
f1b64f60cf
Merge pull request #4070 from Sanya1991/master
...
Oracle Schema fix
2014-06-26 18:56:07 +04:00
Tóth Sándor
332f2a07ee
OCI/Schema getlastinsertedid function fix and i add const oracle column type to schema
2014-06-26 15:49:47 +02:00
Carsten Brandt
4f86c9ad51
Merge pull request #4020 from Sanya1991/master
...
OCI createColumn fix
2014-06-26 12:58:21 +02:00
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets asArray, it is not respected by the via relational query
2014-06-25 23:35:02 -04:00
Qiang Xue
86f06677e9
Refactored AR findOne() and findAll().
2014-06-25 21:31:15 -04:00
Carsten Brandt
574f67feff
fixed test break
2014-06-26 01:35:56 +02:00
Carsten Brandt
8a70d9fbd1
rename column schema typecast method
2014-06-26 00:11:04 +02:00
Carsten Brandt
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
2014-06-26 00:00:37 +02:00
Carsten Brandt
eeb784a11e
added typecast to auto increment PK
...
fixes #3583
2014-06-25 21:45:47 +02:00
Carsten Brandt
b04e23f8b7
use native suppport for batch insert in SQLite >= 3.7.11
...
fixes #3559
2014-06-25 21:18:36 +02:00
Carsten Brandt
7b13c370e9
fixes #3681 , disambiguate PK in findOne and findAll
2014-06-25 20:57:20 +02:00
Carsten Brandt
48f6e380df
Merge PR #4038 branch 'consistent-after-save'
...
* consistent-after-save:
use an AfterSaveEvent class to be consistent
fixed test break and wrong parameter
changed updateAttributes to be more simple update
Ensure consistent behavior in ActiveRecord::afterSave()
Conflicts:
framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
Carsten Brandt
edb95052e8
use an AfterSaveEvent class to be consistent
2014-06-25 19:53:00 +02:00
Carsten Brandt
2f4a09ef53
phpdoc
2014-06-25 19:33:29 +02:00
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
b0fb04efd4
fixed test break and wrong parameter
2014-06-25 00:48:29 +02:00
Carsten Brandt
0899b8d474
changed updateAttributes to be more simple update
...
fixes #3233
2014-06-25 00:29:49 +02:00
Carsten Brandt
2cab70b064
Ensure consistent behavior in ActiveRecord::afterSave()
...
fixes #4012
2014-06-25 00:29:34 +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
Tóth Sándor
3f27a4b74f
OCI createColumn fix
2014-06-23 14:59: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