code: def get_result(self):
          
          translated = self.translate(self.expr)
          if self._needs_name(self.expr):
              # TODO: this could fail in various ways
              name = self.expr.get_name()
              translated = self.name(translated, name)
          return translated
docs: Build compiled SQL expression from the bottom up and return as a string