CI_DB_pdo_driver::_truncate PHP Method

_truncate() protected method

Generates a platform-specific truncate string from the supplied data If the database does not support the TRUNCATE statement, then this method maps to 'DELETE FROM table'
protected _truncate ( string $table ) : string
$table string
return string
    protected function _truncate($table)
    {
        return 'TRUNCATE TABLE ' . $table;
    }