Builds and executes a SQL statement for truncating a DB table.
public truncateTable ( string $table ) | ||
$table | string | the table to be truncated. The name will be properly quoted by the method. |
/** * @inheritdoc * Note: table will be auto pefixied if [[$autoWrapTableNames]] is true. */ public function truncateTable($table) { $table = $this->autoWrappedTableName($table); return parent::truncateTable($table); }