View source: R/utils-database.R
| merge_temp_database | R Documentation |
Safely merges data from a temporary database into the main project database using file locking to prevent concurrent access issues. This function handles the transactional copying of all tables from the temporary database.
merge_temp_database(
temp_db_info,
verbose = FALSE,
max_retries = 10,
retry_delay = 1
)
temp_db_info |
List containing temp database connection and paths |
verbose |
Whether to print verbose output |
max_retries |
Maximum number of retry attempts for file locking |
retry_delay |
Delay between retry attempts in seconds |
Logical indicating success
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.