Carsten Brandt
282152e984
Update Connection.php
...
fix event phpdoc types
6 years ago
SilverFire - Dmitry Naumenko
4bfe5e7a49
release version 2.0.14.2
7 years ago
Filippo Tessarotto
4391ca7f7b
Connection::getTransaction() adjust phpdoc to also return null ( #15848 ) [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
8bb31fb9e5
Updated docs, added tests
7 years ago
Zhukov Roman
bd38e384f6
Fix for yii\db\Connection events documentation [skip ci]
...
Fixes #15799
7 years ago
Vladimir Reznichenko
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
7 years ago
Anton Marin
47b2197d0a
Update Connection.php
...
How to disable load balancing
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Carsten Brandt
488f98648a
added missing `@since` annotations
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
Sergey Makinen
315855f7f5
Fixes #15357 : Added multi statement support for `yii\db\sqlite\Command`
7 years ago
Nelson J Morais
980cfde0f1
Fixes #14877 : Disabled profiling on connection opening when profiling is disabled
7 years ago
Klimov Paul
9e6f9e3b6d
Fixed serialization of `yii\db\Connection` instance closes database connection
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Robert Korulczyk
2fa4ccc1da
Fix phpdoc for $_master and $_slave properties in yii\db\Connection ( #14447 )
7 years ago
qihuajun
f5e8a89319
Fix slave usage disabled after Connection::close, set _slave to false instead of nulll
...
fixes #14165
close #14168
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
8 years ago
Carsten Brandt
7d4b33a805
changed method visibility
...
this should not belong to exposed interface as it is only used
internally by transaction() method.
additional change to #13346
8 years ago
Vladimir
55dd16f1f7
Fixes #12715 : Exception `SAVEPOINT LEVEL1 does not exist` instead of deadlock exception
8 years ago
Dmitry Naumenko
e295b28333
Added TODO comment
8 years ago
Vovan-VE
b68417b1ad
Fix: catch Throwable too
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Vovan-VE
d8566aecc4
Exception within useMaster() completely disables slaves
8 years ago
Vladimir
f3bc11c724
Implement #13219 : Ability to not shuffle masters connections ( #13241 )
...
* Implement #13219 : Ability to not shuffle masters connections
* Enh: add master connection getter
* Add test case for #13241 which implements #13219
* Doc comments [skip ci]
* Doc comments
* Fix: wrong return value when no masters
* Revert `getMasterPdo()` 4a786c7e10519bd1b3b5593e6fa0a6bbdafbb37a
* Fix: try to fix too slow test
* Refact: fix Single Responsibility; Fix possible BC break
* Update Connection.php
* Update Connection.php
* Update Connection.php
* Update Connection.php
* Updated CHANGELOG
* Fix: grammatic mistake
* Refact: property renamed from `randomizeMasters` to `shuffleMasters`
* Refact: split and try to simplify tests
8 years ago
Carsten Brandt
a3b6dfbb7b
Catch `\Throwable` in critical places
...
Added catch `\Throwable` to be compatible with PHP7.
Added it in cases where object state needs to be kept consistent.
Mainly on transactions but also some other places where some values are
reset before exiting.
Most of them could probably be refactored by using `finally` in 2.1, as
that requires PHP 5.5.
fixes #12619
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Carsten Brandt
487b2cb439
make db\Connection phpdoc more clear
...
fixes #12429
8 years ago
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