Appends new row to primary table
cdr_create_row_in_db.Rd
Create new observation line in primary database table and insert a unique ID in the unique observation identifier line. Note: This function is only for the primary table. It is not used for the chg_log table. Note2: Function does not clean or control 'new_uid' inputs. Run controls code before passing in 'new_uid'
Arguments
- conn_pool
pool object for the pool of connections to the specific db
- db_tbl_name
string: name of the specific table to update, or
cdr_id()
object- key_col
name of the unique ID column in the db table (table must have a unique ID column with unique IDs)
- input_uid
char string: the new unique ID you'd like to use for the new observation you're creating