Platform override
| Q | A |
|---|---|
| Version | 4.0.1 |
https://www.doctrine-project.org/projects/doctrine-dbal/en/4.0/reference/platforms.html
'platform' => $myPlatform,
- platform param was removed but still documented
- what is the current procedure to override platform?
- platform param was removed but still documented
Please send a PR to fix the documentation.
- what is the current procedure to override platform?
A driver middleware.
@derrabus can you, please, point to documentation of overriding platform? i can find some examples of driver override but nothing with platform override
@derrabus can you, please, point to documentation of overriding platform?
I cannot, sorry.
A driver middleware can override the platform. This is the way.
@k0d3r1s let's use git!
When was it removed? git log -S platform -p src/DriverManager.php says in 8cdded823c72088c0cb1417e8fad5bc8c00c0c37, which is attached to #5703, which points to https://github.com/doctrine/dbal/pull/5699, which contains the example you want.
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.