sbf_copy_db: Copy SQLite Database

View source: R/copy.R

sbf_copy_dbR Documentation

Copy SQLite Database

Description

Copys an existing SQLite database to the subfolder.

Usage

sbf_copy_db(
  path,
  db_name = sbf_get_db_name(),
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  exists = FALSE,
  ask = getOption("sbf.ask", TRUE)
)

Arguments

path

A string of the path to the database to copy (with the extension).

db_name

A string of the name for the new database (without the extension).

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)

exists

A logical scalar specifying whether the new database must already exist.

ask

A flag specifying whether to ask before deleting an existing database (if exists = FALSE).

Value

A flag indicating whether successfully copied.

See Also

Other database functions: sbf_add_blob_column_to_db(), sbf_close_db(), sbf_create_db(), sbf_execute_db(), sbf_open_db(), sbf_query_db(), sbf_upload_flobs_to_db()


poissonconsulting/subfoldr2 documentation built on Nov. 17, 2024, 1:33 a.m.