(self)
| 140 | return parsed[-1].get_type() == "SELECT" |
| 141 | |
| 142 | def is_valid_cvas(self) -> bool: |
| 143 | parsed = sqlparse.parse(self.strip_comments()) |
| 144 | return len(parsed) == 1 and parsed[0].get_type() == "SELECT" |
| 145 | |
| 146 | def is_explain(self) -> bool: |
| 147 | # Remove comments |