An input type for negating a query.
| 80 | |
| 81 | |
| 82 | class Not(Clean): |
| 83 | """ |
| 84 | An input type for negating a query. |
| 85 | """ |
| 86 | |
| 87 | input_type_name = "not" |
| 88 | |
| 89 | def prepare(self, query_obj): |
| 90 | query_string = super().prepare(query_obj) |
| 91 | return query_obj.build_not_query(query_string) |
| 92 | |
| 93 | |
| 94 | class AutoQuery(BaseInput): |