Example #1
0
 /**
  * {@inheritdoc}
  */
 public function truncate()
 {
     $this->database->driver()->truncate($this->realName());
 }
Example #2
0
 /**
  * Get interpolated (populated with parameters) SQL which will be run against database, please
  * use this method for debugging purposes only.
  *
  * @return string
  */
 public function queryString()
 {
     return $this->compiler->interpolate($this->sqlStatement(), $this->database->driver()->prepareParameters($this->getParameters()));
 }