truncate() public method

Compiles a truncate string and runs the query If the database does not support the truncate() command This function maps to "DELETE FROM table"
public truncate ( $table = '' ) : object
return object
Exemplo n.º 1
0
 protected function _flush()
 {
     $this->_db->truncate($this->_table);
 }