def get_result(self):
        """
        Build compiled SQL expression from the bottom up and return as a string
        """
        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
def get_result ( self ) : translated = self . translate ( self . expr ) if self . _needs_name ( self . expr ) : name = self . expr . get_name ( ) translated = self . name ( translated , name ) return translated
Build compiled SQL expression from the bottom up and return as a string