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
示例#1
0
文件: DB.php 项目: wiserweb/OpenVBX
 protected function _flush()
 {
     $this->_db->truncate($this->_table);
 }