public function toSQL(Parameters $params, bool $inner_clause)
    {
        $expr = $this->getOperand();
        $direction = $this->getDirection();

        return $params->getDriver()->toSQL($params, $expr, false) . " " . $direction;
    }
public function toSQL(Parameters $params, bool $inner_clause)
    {
        $expr = $this->getOperand();
        $direction = $this->getDirection();

        return $params->getDriver()->toSQL($params, $expr, false) . " " . $direction;
    }
public function toSQL ( Parameters $ params , bool $ inner_clause ) { $ expr = $ this -> getOperand ( ) ; $ direction = $ this -> getDirection ( ) ; return $ params -> getDriver ( ) -> toSQL ( $ params , $ expr , false ) . " " . $ direction ; }
Write a order direction clause as SQL query syntax
@param Parameters $params The query parameters: tables and placeholder values
@param bool $inner_clause Unused
@return string The generated SQL
Write a order direction clause as SQL query syntax