Skip to contents

Gets name of table inside the database

Usage

rb_get_cache_table_name(
  type = "project",
  project = rbackupr::rb_get_project_name()
)

Arguments

type

Defaults to "project". Type of cache file to output. Values typically used by `rbackupr` include "base_folder", "projects", and "project".

project

Defaults to project name set with `rbackupr::rb_get_project_name()`. Ignored if the parameter type is not set to "project"

Value

A character vector of length one with the name of the relevant table in the cache file.

Examples

# outputs name of table used in the cache database
rb_get_cache_table_name(type = "project", language = "testing_project")
#> Error in rb_get_cache_table_name(type = "project", language = "testing_project"): unused argument (language = "testing_project")