truncate() 공개 메소드

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
리턴 object
예제 #1
0
파일: DB.php 프로젝트: wiserweb/OpenVBX
 protected function _flush()
 {
     $this->_db->truncate($this->_table);
 }