Qiang Xue
ff50f15056
proper quoting of sequence name.
10 years ago
Alexander Makarov
bc5028eb97
Renamed parameter to match description better
10 years ago
Alexander Makarov
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
10 years ago
Qiang Xue
b147e6516d
minor CS fixes [skip ci]
10 years ago
Alexander Makarov
dca2a84c58
Fixed missing callable in method signature
10 years ago
Alexander Makarov
593b478f2b
Added extra callable typehints
10 years ago
Alexander Makarov
4ff28fb9fb
Added callable typehint and active transaction check to Connection::transaction()
10 years ago
Alexander Makarov
ceff7cc794
Removed requirement to use \Callback from Connection::transaction, improved docs
10 years ago
Alexander Makarov
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
10 years ago
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