Alexander Makarov
5991006ed7
Fixed example of closure-transactions
10 years ago
Ragazzo
e5195937e4
Fixes #3384 : Added callback-style transactions
10 years ago
Qiang Xue
038d5a5375
Fixes #4232 : `TableSchema::sequenceName` for PostgreSQL should remove the enclosing quotes
10 years ago
Qiang Xue
9cb36d01a7
Fixes #4212 : MSSQL query builder should not generate the `ORDER BY` clause when it is not needed
10 years ago
miramir
0322e427e7
fix unnecessary diff
10 years ago
Иван Багаев
93c567e7e1
Retriev quoteSimpleTableName
10 years ago
miramir
9c55cc48f8
Removing unnecessary methods
10 years ago
Иван Багаев
b96e45faf7
Remove test for asterisk in quoteSimpleTableName
10 years ago
Иван Багаев
d06685ff88
Asterisk in Oracle not need quote
...
If quote asterisk oracle say "Syntax error"
10 years ago
Steve
47923cccbe
Fix bug in `yii\db\mysql\Schema`
...
Schema name was not used in ’SHOW CREATE TABLE’ query
Fixed bug where schema name was not used in ’SHOW CREATE TABLE’ query in `yii\db\mysql\Schema`
close #4162
10 years ago
Qiang Xue
05e21b7291
Fixes #4135
10 years ago
Carsten Brandt
1085f1bd9b
cleanup after #4092
...
fixes #4086
10 years ago
Qiang Xue
09b00c5cd0
Reverted #4098 .
10 years ago
Qiang Xue
9fd36afd5a
typo fix
10 years ago
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