cdr_DB2RT_chg_log: Download database change log and send it to the module server

View source: R/cdr_DB2RT_chg_log.R

cdr_DB2RT_chg_logR Documentation

Download database change log and send it to the module server

Description

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

## Not run: 
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)

## End(Not run)


eauleaf/crudr documentation built on Jan. 29, 2024, 4:39 p.m.