public function toSQL(Parameters $params, bool $inner_clause)
    {
        $name = $this->getTable();
        $alias = $this->getAlias();
        $prefix_disabled = $this->getDisablePrefixing();

        $drv = $params->getDriver();
        list($tname, $talias) = $params->resolveTable($name);
        if (!empty($talias) && $talias !== $tname)
            return $drv->identQuote($talias);

        return $prefix_disabled ? $drv->identQuote($tname) : $drv->getName($tname);
    }
public function toSQL(Parameters $params, bool $inner_clause)
    {
        $name = $this->getTable();
        $alias = $this->getAlias();
        $prefix_disabled = $this->getDisablePrefixing();

        $drv = $params->getDriver();
        list($tname, $talias) = $params->resolveTable($name);
        if (!empty($talias) && $talias !== $tname)
            return $drv->identQuote($talias);

        return $prefix_disabled ? $drv->identQuote($tname) : $drv->getName($tname);
    }
public function toSQL ( Parameters $ params , bool $ inner_clause ) { $ name = $ this -> getTable ( ) ; $ alias = $ this -> getAlias ( ) ; $ prefix_disabled = $ this -> getDisablePrefixing ( ) ; $ drv = $ params -> getDriver ( ) ; list ( $ tname , $ talias ) = $ params -> resolveTable ( $ name ) ; if ( ! empty ( $ talias ) && $ talias !== $ tname ) return $ drv -> identQuote ( $ talias ) ; return $ prefix_disabled ? $ drv -> identQuote ( $ tname ) : $ drv -> getName ( $ tname ) ; }
Write an function 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 an function as SQL query syntax