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
From the tests
" INSERT INTO some_table (id_product, id_shop, id_currency, id_country, id_registration) ( SELECT IF(dq.id_discounter_shopping = 2, dq.value, dq.value / 100), IF (dq.id_discounter_shopping = 2, 'amount', 'percentage') FROM foo);"
" INSERT INTO some_table ( id_product, id_shop, id_currency, id_country, id_registration ) ( SELECT IF( dq.id_discounter_shopping = 2, dq.value, dq.value / 100 ), IF ( dq.id_discounter_shopping = 2, 'amount', 'percentage' ) FROM foo );"
The two IF have different spacing, would be better to either have 1 space always or none always.
IF
The text was updated successfully, but these errors were encountered:
In general we are producing different outputs depending on the whitespaces in the input, we should tackle it
Sorry, something went wrong.
No branches or pull requests
From the tests
The two
IF
have different spacing, would be better to either have 1 space always or none always.The text was updated successfully, but these errors were encountered: