In the case of PostgreSQL, we are performing reorder during individual processing at the time of export. However, when the query contains bindings, the bindings are initialized, leading to an SQL error.
In this fix, we search for the initialized bind attributes before and after the reorder, and re-bind the initialized values to prevent SQL errors.
Visual changes
Functional changes
[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
Description
In the case of PostgreSQL, we are performing reorder during individual processing at the time of export. However, when the query contains bindings, the bindings are initialized, leading to an SQL error.
In this fix, we search for the initialized bind attributes before and after the reorder, and re-bind the initialized values to prevent SQL errors.
Visual changes
Functional changes
composer cs
command.