예제 #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);
 }