rb_get_cache_table_name: Gets name of table inside the database

View source: R/rb_caching.R

rb_get_cache_table_nameR Documentation

Gets name of table inside the database

Description

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")

giocomai/rbackupr documentation built on Oct. 18, 2023, 9:36 p.m.