staabm/sql-parser-util

1.0 2022-06-30 09:48 UTC

This package is auto-updated.

Last update: 2024-10-29 06:00:29 UTC


README

Utility class to parse sql statements containing named parameters into one using positional parameters.

Example

[$sql, $params, $types] = SQLParserUtils::expandListParameters($sql, $params, $types);

Credits

The code was extracted from doctrine 2.13.7.