Skip to content

Conversation

@terabytesoftw
Copy link
Member

@terabytesoftw terabytesoftw commented Aug 24, 2020

Q A
Is bugfix? ✔️
New feature? ✔️
Breaks BC? ✔️
Issues? #154 #108 #152
  • Add testsuite db-mssql.
  • Add testsuite db-pgsql.
  • Add testsuite db-mysql.
  • Add testsuite db-sqlite.

* available and `$fallbackToMaster` is false. This property is read-only.
* @property PDO $slavePdo The PDO instance for the currently active slave connection. `null` is returned if no slave
* connection is available and `$fallbackToMaster` is false. This property is read-only.
* @property Transaction|null $transaction The currently active transaction. Null if no active transaction. This
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@property annotations seem become obsolete and could be deleted.

use Yiisoft\Db\Exception\InvalidConfigException;
use Yiisoft\Db\Schema\Schema;

interface ConnectionInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it contain more methods such as the following?

  • beginTransaction(), getTransaction()
  • open(), close(), isActive()

@terabytesoftw terabytesoftw marked this pull request as ready for review September 4, 2020 01:34
@terabytesoftw terabytesoftw merged commit 3f1c7eb into yiisoft:master Sep 4, 2020
@terabytesoftw terabytesoftw deleted the refactoring-and-cleanup branch September 4, 2020 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants