Unable to setup 'platform' in wrapper `Connection`, but still documented in 4.x
janedbal opened this issue · 5 comments
janedbal commented
Summary
Since dbal 4, 'platform'
key cannot be used in DriverManager::getConnection($params)
(release note), but it is still present in documentation.
derrabus commented
You are correct, the documentation needs to be updated. PR welcome.
janedbal commented
What is the new official proper way? Implementing Doctrine\DBAL\Driver
and returning the platform from MyDriver::getDatabasePlatform
?
janedbal commented
Now I see this is a duplicate: #6354 (comment)
derrabus commented
Closing as duplicate then. 🙂
github-actions commented
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.