tideways/dbal-sqlparserutils-replacement

v1.0.1 2022-09-27 13:18 UTC

This package is auto-updated.

Last update: 2024-11-27 18:16:54 UTC


README

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;