Skip to content

Commit

Permalink
work on AND operator
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Nov 23, 2024
1 parent af6bdc6 commit fd5b637
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions jamesql/query_simplifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ def simplifier(terms):
):
new_terms.append(t[0])
new_terms.append(t[2])

if t[0] in outer_terms:
to_remove.add(t[0])

if t[2] in outer_terms:
to_remove.add(t[2])
elif (
isinstance(t, list)
and t[0] == "NOT"
Expand Down

0 comments on commit fd5b637

Please sign in to comment.