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
WHERE语句中出现uid列时解析语法树,导致判断语句解析失败。
To Reproduce 测试代码
sql_1 = 'SELECT * FROM users WHERE uid = 1 ' sql_2 = 'SELECT * FROM users WHERE id = 1 ' statement_1 = sqlparse.parse(sql_1)[0] statement_2 = sqlparse.parse(sql_2)[0]
sql_1和sql_2解析不一致:
Expected behavior 应该都按照sql_2的解析方式
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
WHERE语句中出现uid列时解析语法树,导致判断语句解析失败。
To Reproduce
测试代码
sql_1和sql_2解析不一致:
Expected behavior
应该都按照sql_2的解析方式
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: