rows_truncate() removes all rows. This operation corresponds to TRUNCATE in SQL. ... is ignored.

rows_truncate(x, ..., in_place = FALSE)

sql_rows_truncate(x, ...)

## Arguments

x A data frame or data frame extension (e.g. a tibble). Other parameters passed onto methods. Should x be modified in place? This argument is only relevant for mutable backends (e.g. databases, data.tables). When TRUE, a modified version of x is returned invisibly; when FALSE, a new object representing the resulting changes is returned.