We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Multiple joins with same $toExpression overwrite themselves.
$builder->joinLeft('%table', '%table.id = %table.website_id', 'website', 'placement', 'website'); $builder->joinLeft('%table', '%table.id = %table.group_id', 'group_', 'group_', 'website'); // Redundant query parameter or missing modifier in query fragment 'group_'.
This code is probably the problem: https://github.com/nextras/dbal/blob/master/src/QueryBuilder/QueryBuilder.php#L297
To Reproduce See description.
Expected behavior Should not overwrite.
Versions::
The text was updated successfully, but these errors were encountered:
Failing test case and possible fix for #132 (#133)
2f7ce40
* Update QueryBuilderTest.joins.phpt * Possible fix
fixed by #133
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Multiple joins with same $toExpression overwrite themselves.
This code is probably the problem:
![image](https://user-images.githubusercontent.com/22822651/101757557-93623a80-3ad7-11eb-9045-c000ee7d3aa5.png)
https://github.com/nextras/dbal/blob/master/src/QueryBuilder/QueryBuilder.php#L297
To Reproduce
See description.
Expected behavior
Should not overwrite.
Versions::
The text was updated successfully, but these errors were encountered: