Learn R Programming

repana (version 2.2.1)

write_log: Make a log of the updates on the database

Description

Make a log of the database updates. If the log table does not exists it creates it Make a new entry with the timestamp of the update

Usage

write_log(con, tablename, source)

Value

the result from DBI

Arguments

con

DBI connection

tablename

the name of the table

source

a manual comment to identify the source of the table