fix where
This commit is contained in:
parent
6a3e11cc79
commit
3c8316ebc4
5
sql.py
5
sql.py
|
@ -31,8 +31,9 @@ class SQL:
|
|||
if "ONDE" in query_parts:
|
||||
index = query_parts.index("ONDE")
|
||||
where_filter_column = query_parts[index + 1]
|
||||
where_filter_value = query_parts[index + 2]
|
||||
where_filter = [where_filter_column, where_filter_value]
|
||||
where_filter_operator = query_parts[index + 2]
|
||||
where_filter_value = query_parts[index + 3]
|
||||
where_filter = [where_filter_column, where_filter_operator, where_filter_value]
|
||||
|
||||
# parse TABLE
|
||||
table = self.tables[query_parts[3]]
|
||||
|
|
Loading…
Reference in New Issue