Saves meta table descriptions to a database. Its important to note that if overwrite = TRUE and x includes blank descriptions then existing non-blank descriptions will be overwritten.

sbf_save_db_metatable_descriptions(
  x,
  db_name = sbf_get_db_name(),
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  overwrite = FALSE,
  strict = TRUE
)

Arguments

x

A data.frame with Table, Column and Description columns.

db_name

A string of the database name.

sub

A string specifying the path to the sub folder (by default the current sub folder).

main

A string specifying the path to the main folder (by default the current main folder)

overwrite

A flag specifying whether to overwrite existing descriptions.

strict

A flag specifying whether to error if x has extraneous descriptions.

Value

A invisible data.frame of the altered descriptions.