Roman Grinyov
926a238595
Removed duplicate sentence in docblock ( #12290 ) [skip ci]
8 years ago
Roman Grinyov
434a4ce632
Typos in class docblock ( #12270 )
8 years ago
SilverFire - Dmitry Naumenko
6263eeba69
Updated PHPDoc
8 years ago
Carsten Brandt
326cdfeb52
added test for #11256
8 years ago
Carsten Brandt
bcc19e97cb
added note about Oracle DB connection charset
...
close #11387
8 years ago
Sam Mousa
af5f5d0e3e
Fixes #9851 : Fixed partial commit / rollback in nested transactions
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
SilverFire - Dmitry Naumenko
b43ebcc368
yii\db\Connection::createCommand() removed DI usage for performance reasons
9 years ago
Carsten Brandt
49c15fa304
better documentation for Command in db Connection
9 years ago
SilverFire - Dmitry Naumenko
8b92b08306
db/Connection - update PHPDocs, update CHANGELOG
9 years ago
Sam Mousa
aa36f63f4c
Fixed issue #7674
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Sam Mousa
603a956b8d
Implemented __sleep in yii\db\Connection
...
to support serializing the connection object without exceptions.
- Added test for serializing an open connection.
- Added unserialize test
close #10149
9 years ago
A Slatius
a030cd4250
Allow the use of Yii aliases in an SQLite dsn
...
Making it possible to use a SQLite DSN like;
```php
'db' => [
'dsn' => 'sqlite:@app/db/database.sqlite3',
]
```
That way it'll always work out of the box and absolute paths aren't
needed.
close #9869
9 years ago
jeicd
0407407b76
fix coding style to follow PSR-2
9 years ago
Davide Della Casa Venturelli
329fe129fe
Fixed #9454 : changed sqlsrv pdo class selection
9 years ago
Alexander Mohorev
afe21a986a
PSR-2 anonymous functions
9 years ago
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Carsten Brandt
4054b2196f
fixed broken links
10 years ago
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
10 years ago
Qiang Xue
613d3071a7
Fixes #5106 : Refactored query caching to not load cache component when query caching is not used at all.
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
1f31f27787
phpdoc
10 years ago
Qiang Xue
e486b663a0
Fixed test break.
10 years ago
Qiang Xue
27132ced7c
Fixes #4384 .
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Qiang Xue
6e6005b148
Refactored code.
10 years ago
Qiang Xue
919ab232e7
all finished. [skip ci]
10 years ago
Qiang Xue
65987f62ae
test WIP
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
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
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
4969f51e3f
Fixes #3221 : Added events for DB transaction commit/rollback
10 years ago
Carsten Brandt
bbbe2a3e4b
Added support for transaction isolation levels
...
fixes #3220
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
Alexander Makarov
ea10ba4938
Fixes #3744 : `yii\db\Connection` now skips `bindValues` if there are no parameters to bind
10 years ago
Carsten Brandt
91965fd391
phpdoc formatting issues
11 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago
Qiang Xue
8bbcff70db
prepare for 2.0.0-beta release.
11 years ago
resurtm
1991c4cbbd
Add ODBC support to yii\db\Connection
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago