Skip to content
New issue

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

html_sql can't trim uppercase "and|or" after where #491

Open
clevertension opened this issue Feb 19, 2024 · 1 comment
Open

html_sql can't trim uppercase "and|or" after where #491

clevertension opened this issue Feb 19, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@clevertension
Copy link
Contributor

image

we know most of database such as mysql, postgresql, the keyword is case insensitive, so where must support trim all possible case variations just like "AND", "AnD", "oR"....

select * from user where AND id = 1

should also be trim like

select * from user where id = 1
@zhuxiujia
Copy link
Member

image

we know most of database such as mysql, postgresql, the keyword is case insensitive, so where must support trim all possible case variations just like "AND", "AnD", "oR"....

select * from user where AND id = 1

should also be trim like

select * from user where id = 1

please use lowercase

@zhuxiujia zhuxiujia added the help wanted Extra attention is needed label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants