rows_truncate {dm} R Documentation

## Truncate all rows

### Description

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

### Usage

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. in_place 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.

[Package dm version 0.2.8 Index]