MCPcopy Index your code
hub / github.com/andialbrecht/sqlparse / _reset

Method _reset

sqlparse/engine/statement_splitter.py:17–27  ·  view source on GitHub ↗

Set the filter attributes to its default values

(self)

Source from the content-addressed store, hash-verified

15 self._reset()
16
17 def _reset(self):
18 """Set the filter attributes to its default values"""
19 self._in_declare = False
20 self._in_case = False
21 self._is_create = False
22 self._begin_depth = 0
23 self._seen_begin = False
24
25 self.consume_ws = False
26 self.tokens = []
27 self.level = 0
28
29 def _change_splitlevel(self, ttype, value):
30 """Get the new split level (increase, decrease or remain equal)"""

Callers 2

__init__Method · 0.95
processMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected