tof06
06bbf017a0
Fixes #4342
10 years ago
Qiang Xue
e486b663a0
Fixed test break.
10 years ago
Carsten Brandt
d4237b8e50
Update ActiveRecordInterface.php
...
fixes #3026
10 years ago
Qiang Xue
27132ced7c
Fixes #4384 .
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Carsten Brandt
cc38e9c795
fixed issue with indexBy and array valued relations
10 years ago
Klimov Paul
1a07485e27
Added support for relation by array attributes
...
fixes #1249
10 years ago
Qiang Xue
6e6005b148
Refactored code.
10 years ago
Qiang Xue
e8c6bb516f
Fixes #4048 : Added `init` event to `ActiveQuery` classes
10 years ago
Qiang Xue
fe2611186e
Fixes #4051 : Renamed `yii\caching\GroupDependency` to `TagDependency` and added support for associating multiple tags to a single cached data item
10 years ago
Qiang Xue
0a5894fcd8
Fixes #4299
10 years ago
Qiang Xue
919ab232e7
all finished. [skip ci]
10 years ago
Qiang Xue
65987f62ae
test WIP
10 years ago
Qiang Xue
478380fb10
Fixed test brak.
10 years ago
Qiang Xue
c16e5e4240
do not switch connection when in a transaction.
10 years ago
Qiang Xue
43333d9cad
Implemented master balancing.
10 years ago
Qiang Xue
91e0c5ae8a
Added Connection::useMaster() and refactored code.
10 years ago
Qiang Xue
e67d0b3c39
WIP
10 years ago
Qiang Xue
2018503c8d
WIP
10 years ago
Qiang Xue
67a1e172db
WIP
10 years ago
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