append_to_temp_table: Appends rows to a temporary table

Description Usage Arguments

View source: R/temp_tables.R

Description

This function checks if a table is a temp table and then adds to it based on the select statement The check is to maintain the integrity of the database

Usage

1
append_to_temp_table(db, tab_name, columns, select_query)

Arguments

db

a database connection

tab_name

the name of the temporary table being appended to

columns

character vector of columns in tab_name

select_query

SQL query for the selector


rOpenHealth/rEHR documentation built on May 26, 2019, 8:51 p.m.