mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #9236] Restore query() call for primary/replica connections
#11452
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/9236
State: closed
Merged: No
On DBAL 2,
PrimaryReadReplicaConnection::query()executed the query on the primary connection. I broke the usage of this "hidden feature" while removing deprecated calls. This PR restores the functionality. At the same time, it removes mock logic that was supposed to catch my mistake but did not succeed doing so.