Open rafaelreuber opened 7 years ago
Hi,
I think could be useful a method that returns True the query statement have at least one where clause.
Ex:
stmt = sqlparse.parse("select 1 from dual where 1 = 1")[0] stmt.has_where() #Returns True stmt = sqlparse.parse("select 1 from dual")[0] stmt.has_where() #Returns False
I can send you a PR
As a reference, see also the discussion in #256
Hi,
I think could be useful a method that returns True the query statement have at least one where clause.
Ex:
I can send you a PR