af5f5d0e3e
Fixes #9851 : Fixed partial commit / rollback in nested transactions
2016-02-15 23:32:32 +03:00
f620f4de90
phpdoc fixes
2016-02-07 19:48:13 +01:00
b43ebcc368
yii\db\Connection::createCommand() removed DI usage for performance reasons
2016-02-04 14:32:09 +02:00
49c15fa304
better documentation for Command in db Connection
2016-02-04 13:24:08 +01:00
8b92b08306
db/Connection - update PHPDocs, update CHANGELOG
2016-02-04 14:03:57 +02:00
aa36f63f4c
Fixed issue #7674
2016-02-04 14:03:46 +02:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
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
2015-11-16 22:44:57 +01:00
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
2015-10-09 16:21:33 +02:00
0407407b76
fix coding style to follow PSR-2
2015-10-05 13:58:47 +06:00
329fe129fe
Fixed #9454 : changed sqlsrv pdo class selection
2015-08-21 13:25:02 +02:00
afe21a986a
PSR-2 anonymous functions
2015-06-09 00:14:44 +03:00
bb8550886e
PHP type casting
2014-10-25 15:30:03 +03:00
4054b2196f
fixed broken links
2014-10-06 22:04:59 +02:00
d2b864da84
prepare for 2.0.0-rc release.
2014-09-27 21:59:54 -04:00
613d3071a7
Fixes #5106 : Refactored query caching to not load cache component when query caching is not used at all.
2014-09-23 20:59:51 -04:00
1f31f27787
phpdoc
2014-07-29 22:19:14 +02:00
e486b663a0
Fixed test break.
2014-07-21 14:38:45 -04:00
27132ced7c
Fixes #4384 .
2014-07-21 08:20:10 -04:00
a3e2b94adf
Fixes #3611 : Refactored query caching.
2014-07-20 20:59:38 -04:00
6e6005b148
Refactored code.
2014-07-20 08:01:16 -04:00
919ab232e7
all finished. [skip ci]
2014-07-12 13:11:29 -04:00
65987f62ae
test WIP
2014-07-12 10:38:51 -04:00
43333d9cad
Implemented master balancing.
2014-07-11 22:33:36 -04:00
91e0c5ae8a
Added Connection::useMaster() and refactored code.
2014-07-11 21:04:26 -04:00
e67d0b3c39
WIP
2014-07-11 14:01:44 -04:00
2018503c8d
WIP
2014-07-11 12:59:32 -04:00
67a1e172db
WIP
2014-07-11 08:27:58 -04:00
bc5028eb97
Renamed parameter to match description better
2014-07-10 21:09:08 +04:00
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
2014-07-10 20:50:07 +04:00
4ff28fb9fb
Added callable typehint and active transaction check to Connection::transaction()
2014-07-10 19:01:21 +04:00
ceff7cc794
Removed requirement to use \Callback from Connection::transaction, improved docs
2014-07-10 18:18:51 +04:00
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
2014-07-10 17:57:52 +04:00
5991006ed7
Fixed example of closure-transactions
2014-07-10 17:35:54 +04:00
e5195937e4
Fixes #3384 : Added callback-style transactions
2014-07-10 17:24:10 +04:00
4969f51e3f
Fixes #3221 : Added events for DB transaction commit/rollback
2014-06-26 16:08:18 -04:00
bbbe2a3e4b
Added support for transaction isolation levels
...
fixes #3220
2014-06-23 19:47:56 +02:00
de8ba90019
Revert "Fixes #3744 : yii\db\Connection
now skips bindValues
if there are no parameters to bind"
...
This reverts commit ea10ba4938f44e30c5d3754c43f8a312a91daabc.
2014-06-09 16:05:13 +04:00
ea10ba4938
Fixes #3744 : yii\db\Connection
now skips bindValues
if there are no parameters to bind
2014-06-09 02:35:29 +04:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
8bbcff70db
prepare for 2.0.0-beta release.
2014-04-13 17:58:59 -04:00
1991c4cbbd
Add ODBC support to yii\db\Connection
2014-04-10 14:53:02 +06:00
ab799d8ea9
Fixes #2911 : Removed tbl_
default for table prefix
2014-03-30 19:33:46 +04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
e1f4a9cc8f
Added Connection::enableSavepoint.
2014-02-15 23:00:30 -05:00
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
2014-02-15 22:16:09 -05:00
9b723baa76
Added TableSchema::fullName
property
2014-01-16 15:51:14 -05:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00