CI_DB_mysqli_driver::_from_tables PHP Méthode

_from_tables() protected méthode

Groups tables in FROM clauses if needed, so there is no confusion about operator precedence.
protected _from_tables ( ) : string
Résultat string
    protected function _from_tables()
    {
        if (!empty($this->qb_join) && count($this->qb_from) > 1) {
            return '(' . implode(', ', $this->qb_from) . ')';
        }
        return implode(', ', $this->qb_from);
    }