cache_drop_old_rows: Drop old rows

Description Usage Arguments Value Examples

View source: R/db_helpers.R

Description

Drop old rows

Usage

1
cache_drop_old_rows(table_name, threshold_days = 7, cache_db_con)

Arguments

table_name

Name of the db table to add data to.

threshold_days

integer [7]: Drop records older than that.

cache_db_con

A connection, see cache_db

Value

Nothing

Examples

1
2
3
4
5
## Not run: 
cache_drop_old_rows("episodes", 4, cache_db_con)
cache_drop_old_rows("seasons", 4, cache_db_con)

## End(Not run)

jemus42/attrakttv documentation built on July 5, 2021, 5:16 a.m.