CI_DB_mysqli_driver::_list_tables PHP Method

_list_tables() protected method

Generates a platform-specific query string so that the table names can be fetched
protected _list_tables ( boolean $prefix_limit = FALSE ) : string
$prefix_limit boolean
return string
    protected function _list_tables($prefix_limit = FALSE)
    {
        $sql = 'SHOW TABLES FROM ' . $this->escape_identifiers($this->database);
        if ($prefix_limit !== FALSE && $this->dbprefix !== '') {
            return $sql . " LIKE '" . $this->escape_like_str($this->dbprefix) . "%'";
        }
        return $sql;
    }