CI_DB_pdo_driver::_truncate PHP 메소드

_truncate() 보호된 메소드

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
리턴 string
    protected function _truncate($table)
    {
        return 'TRUNCATE TABLE ' . $table;
    }