From fd5b6373e63a16185facf7ee98af03734da00b71 Mon Sep 17 00:00:00 2001 From: capjamesg Date: Sat, 23 Nov 2024 00:08:39 +0000 Subject: [PATCH] work on AND operator --- jamesql/query_simplifier.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jamesql/query_simplifier.py b/jamesql/query_simplifier.py index a1b2858..66a22e1 100644 --- a/jamesql/query_simplifier.py +++ b/jamesql/query_simplifier.py @@ -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"