yii\db\sqlite\QueryBuilder::truncateTable PHP Method

truncateTable() public method

Builds a SQL statement for truncating a DB table.
public truncateTable ( string $table ) : string
$table string the table to be truncated. The name will be properly quoted by the method.
return string the SQL statement for truncating a DB table.
    public function truncateTable($table)
    {
        return 'DELETE FROM ' . $this->db->quoteTableName($table);
    }