Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 508 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 508 Bytes

Doctrine DBAL 2 SQL Parser Utils Replacement

Replaces doctrine/dbal 2.x SQLParserUtils by "preloading" it via Composer "files" autoloading. This solves the performance issues of the old implementation when no migration to Doctrine DBAL 3.4+ is possible in the short term.

$ composer require tideways/dbal-sqlparserutils-replacement

Nothing more needs to be done, unless you do not use MySQL then you must set early in bootstrap:

\Doctrine\DBAL\SQLParserUtils::$isMySQL = false;