code: def _rewrite_where(self, q):
          
          if isinstance(q, Lookup):
              self._rewrite_col(q.lhs)
          if isinstance(q, Node):
              for child in q.children:
                  self._rewrite_where(child)
docs: Rewrite field names inside WHERE tree.