You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import sqlparse
sql="""
update test set name="
" ( " + a + " == null || " + b + " == \"\" ) "
"
where id =1;
update test set name="
" ( " + a + " == null || " + b + " == \"\" ) "
"
where id =2;
update test set name="
" ( " + a + " == null || " + b + " == \"\" ) "
"
where id =3;
"""
len(sqlparse.split(sql))
1
Expected behavior
The output is expected to be 3 but returns 1 instead
Versions (please complete the following information):
Python:3.6
sqlparse: 0.4.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
SQL Split Failure
To Reproduce
Expected behavior
The output is expected to be 3 but returns 1 instead
Versions (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: