Skip to contents

Download database change log and send it to the module server

Usage

cdr_DB2RT_chg_log(conn_pool, chg_log_tbl_name)

Arguments

conn_pool

pool connection object from package 'pool'

chg_log_tbl_name

string: name of the database table you're managing with suffix "_DELTAS"

Value

a DT object to present the change log table

Examples

if (FALSE) {
con <- pool::dbPool(DBI::dbConnect(RSQLite::SQLite(), 'iris.db'))
cdr_make_db_tbls(con, iris)
cdr_DB2RT_primary(con, 'iris_DELTAS')
pool::dbRemoveTable(con,'iris')
pool::dbRemoveTable(con,'iris_DELTAS')
pool::poolClose(con)
}