示例#1
0
 /**
  * Run a truncate statement on the table.
  */
 public function truncate()
 {
     parent::truncate();
     $this->handler->setBuilder($this)->setValues([])->setSqlOperation('truncate')->invalidateQuery('truncate');
 }
示例#2
0
 /**
  * Run a truncate statement on the table.
  */
 public function truncate()
 {
     parent::truncate();
     $this->handler->setBuilder($this)->invalidateQuery(Reflector::QUERY_TYPE_TRUNCATE);
 }