doctrine/dbal

Unable to setup 'platform' in wrapper `Connection`, but still documented in 4.x

janedbal opened this issue · 5 comments

Summary

Since dbal 4, 'platform' key cannot be used in DriverManager::getConnection($params) (release note), but it is still present in documentation.

You are correct, the documentation needs to be updated. PR welcome.

What is the new official proper way? Implementing Doctrine\DBAL\Driver and returning the platform from MyDriver::getDatabasePlatform?

Now I see this is a duplicate: #6354 (comment)

Closing as duplicate then. 🙂

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.