db
db copied to clipboard
Yii Database Library
Need create separate implementation of Master/Slave connection and remove this magic from current realisation. CQRS - responsibility of user
https://github.com/yiisoft/db/blob/ec41ff1583a020a9f3c0f66ec948dc1f3c7b6de3/src/Query/Query.php#L553
Here: https://github.com/yiisoft/db/blob/92731818f146e83772a5aa8f4c866b786007423c/src/TestSupport/TestCommandTrait.php#L259 Method check successful execution. Name are mean opposite.
phpdoc does not match method signature. https://github.com/yiisoft/db/blob/d7b91e83172763a7205134ebb22dd7fb7caf9f14/src/Command/CommandInterface.php#L275-L287
We have implementation in mssql & pgsql only
Good day. I have my own custom realization for `AR::save` with ignored not changed rows (for multiple updates from cron). But today i found that it sometimes not works. It...
In current implementation we have retryHandler in function `internalExecute`. Retry - is responsibility of user. Need remove this code from Command.php
Non-PDO APIs have more abilities and could be used to work with database more efficiently.
### What steps will reproduce the problem? Use MySQL database with sql_mode set to ANSI_QUOTES ### What is the expected result? ``QueryBuilder::addCommentOnColumn`` works as expected ### What do you get...