@@ -135,14 +135,14 @@ def __escape_column(self, token: Any) -> str:
135135
136136 def __init__ (self , statement : str ) -> None :
137137 super ().__init__ (statement )
138- self ._where_conditions = []
138+ self ._parsed_where_conditions = []
139139 self ._limit = None
140140 self ._consistent_read = False
141141 self ._return_consumed_capacity = "NONE"
142142
143143 @property
144144 def where_conditions (self ) -> List [Optional [str ]]:
145- return self ._where_conditions
145+ return self ._parsed_where_conditions
146146
147147 @property
148148 def limit (self ) -> int :
@@ -166,18 +166,18 @@ def transform(self) -> Dict[str, Any]:
166166 def _construct_where_conditions (self , where_conditions : List [Any ]) -> str :
167167 for condition in where_conditions :
168168 if not isinstance (condition , ParseResults ):
169- self ._where_conditions .append (str (condition ))
169+ self ._parsed_where_conditions .append (str (condition ))
170170 else :
171171 function_ = condition .get ("function" , None )
172172 function_with_op_ = condition .get ("function_with_op" , None )
173173 if function_ :
174174 flatted_func_params = "," .join (condition ["function_params" ])
175- self ._where_conditions .append (
175+ self ._parsed_where_conditions .append (
176176 "%s(%s)" % (function_ , flatted_func_params )
177177 )
178178 elif function_with_op_ :
179179 flatted_func_params = "," .join (condition ["function_params" ])
180- self ._where_conditions .append (
180+ self ._parsed_where_conditions .append (
181181 "%s(%s) %s %s"
182182 % (
183183 function_with_op_ ,
@@ -191,7 +191,7 @@ def _construct_where_conditions(self, where_conditions: List[Any]) -> str:
191191 flatted_where = " " .join (
192192 str (c ) for c in flatten_list (where_conditions_ )
193193 )
194- self ._where_conditions .append (flatted_where )
194+ self ._parsed_where_conditions .append (flatted_where )
195195
196196 return "WHERE %s" % " " .join (self .where_conditions )
197197
0 commit comments