Qiang Xue
|
dfadb6a917
|
Fixes #4098: `yii\db\Query::addSelect()` should include `*` when it is called the first time
|
10 years ago |
Vladimir Zbrailov
|
7113a23a45
|
change PhpDoc of param
|
10 years ago |
Vladimir Zbrailov
|
44f20c61a0
|
changedAttributes of AfterSaveEvent contain an old values
|
10 years ago |
Carsten Brandt
|
5d0452b2ae
|
rename ColumnSchema::typecast to phpTypecast
|
10 years ago |
Qiang Xue
|
4969f51e3f
|
Fixes #3221: Added events for DB transaction commit/rollback
|
10 years ago |
Tóth Sándor
|
332f2a07ee
|
OCI/Schema getlastinsertedid function fix and i add const oracle column type to schema
|
10 years ago |
Qiang Xue
|
1b4a9b62cd
|
Fixes #3568: When the primary query sets `asArray`, it is not respected by the `via` relational query
|
10 years ago |
Qiang Xue
|
86f06677e9
|
Refactored AR findOne() and findAll().
|
10 years ago |
Carsten Brandt
|
574f67feff
|
fixed test break
|
10 years ago |
Carsten Brandt
|
8a70d9fbd1
|
rename column schema typecast method
|
10 years ago |
Carsten Brandt
|
6a48f68955
|
split typecast method into two
one method for fetching data and one for sending to db.
fixes #2287
|
10 years ago |
Carsten Brandt
|
eeb784a11e
|
added typecast to auto increment PK
fixes #3583
|
10 years ago |
Carsten Brandt
|
b04e23f8b7
|
use native suppport for batch insert in SQLite >= 3.7.11
fixes #3559
|
10 years ago |
Carsten Brandt
|
7b13c370e9
|
fixes #3681, disambiguate PK in findOne and findAll
|
10 years ago |
Carsten Brandt
|
edb95052e8
|
use an AfterSaveEvent class to be consistent
|
10 years ago |
Carsten Brandt
|
2f4a09ef53
|
phpdoc
|
10 years ago |
Carsten Brandt
|
6578cfbdab
|
updated phpdoc and classmap
|
10 years ago |
Carsten Brandt
|
29cacc8a05
|
added mysql blob and longblob to the list
issue #613
|
10 years ago |
Carsten Brandt
|
1391253a58
|
fixed postgres default value parsing
|
10 years ago |
Carsten Brandt
|
651e6a3feb
|
added support for BIT default values
fixes #422
|
10 years ago |
Carsten Brandt
|
4f95fcd91f
|
added unit tests for schema detection
fixed some issues with schema detection
|
10 years ago |
Carsten Brandt
|
b0fb04efd4
|
fixed test break and wrong parameter
|
10 years ago |
Carsten Brandt
|
0899b8d474
|
changed updateAttributes to be more simple update
fixes #3233
|
10 years ago |
Carsten Brandt
|
2cab70b064
|
Ensure consistent behavior in ActiveRecord::afterSave()
fixes #4012
|
10 years ago |
Carsten Brandt
|
6ad244185a
|
missing return
[ci skip]
|
10 years ago |
Carsten Brandt
|
cc8a8360cb
|
added unit test and notes about dbms specific settings
|
10 years ago |
Carsten Brandt
|
bbbe2a3e4b
|
Added support for transaction isolation levels
fixes #3220
|
10 years ago |
Tóth Sándor
|
3f27a4b74f
|
OCI createColumn fix
|
10 years ago |
Alexander Makarov
|
0c14f47f9a
|
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
|
10 years ago |
Klimov Paul
|
166465ec7a
|
`MigrationInterface` extracted
|
10 years ago |
Carsten Brandt
|
871ae29c9c
|
call asArray() instead of assign directly
fixes #3891
|
10 years ago |
Carsten Brandt
|
20483e25db
|
added reference link to SQL error code
[ci skip]
|
10 years ago |
Carsten Brandt
|
9430ccd095
|
more robust check for table not exists
should work on HHVM too
|
10 years ago |
Qiang Xue
|
ce49416e32
|
Fixes #3752: `QueryBuilder::batchInsert()` does not typecast input values
|
10 years ago |
Alexander Makarov
|
de8ba90019
|
Revert "Fixes #3744: `yii\db\Connection` now skips `bindValues` if there are no parameters to bind"
This reverts commit ea10ba4938 .
|
10 years ago |
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.
|
10 years ago |
Alexander Makarov
|
ea10ba4938
|
Fixes #3744: `yii\db\Connection` now skips `bindValues` if there are no parameters to bind
|
10 years ago |
Alexander Makarov
|
714f27ab22
|
Fixes #3241
|
10 years ago |
Alexander Makarov
|
b01e6de9bc
|
Fixes #3399: Added support for MS SQL Server older than 2012
|
10 years ago |
Alexander Makarov
|
03efbc4ca8
|
Added getDb() to ActiveRecordInterface in order for BaseActiveRecord to have stricter contract
|
10 years ago |
Carsten Brandt
|
d92281dcda
|
refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
|
10 years ago |
Alexander Makarov
|
a5c4a0ebb4
|
Adjusted BaseActiveRecord code for better noSQL compatibility
|
10 years ago |
Alexander Kochetov
|
ce1e469751
|
ActiveQuery::one() slight refactoring
|
10 years ago |
Qiang Xue
|
f23b7ac57e
|
Fixes #3564
|
11 years ago |
Carsten Brandt
|
d75f0c7288
|
removed `@link` tags from apidoc and replaced with markdown
|
11 years ago |
Carsten Brandt
|
18190b7348
|
fixes #3473, allow precision in pgsql abstract timestamp
|
11 years ago |
Carsten Brandt
|
6fd25815ba
|
added more types to pgsql schema, better detection
fixes #3578
|
11 years ago |
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.
|
11 years ago |
Qiang Xue
|
f5dbd9a084
|
Fixes #3564: Fixed the bug that primary key columns should not take default values from schema
|
11 years ago |
Qiang Xue
|
6e7713ec13
|
Fixes #3567: Fixed the bug that smallint was treated as string for PostgreSQL
|
11 years ago |