cdr_DB2RT_primary: Download database table and sync it to user interface

View source: R/cdr_DB2RT_primary.R

cdr_DB2RT_primaryR Documentation

Download database table and sync it to user interface

Description

Download database table and sync it to user interface

Usage

cdr_DB2RT_primary(conn_pool, db_tbl_name, key_col)

Arguments

conn_pool

pool connection object from package 'pool'

db_tbl_name

string: name of the specific table to update or cdr_id() object

key_col

string: the field that contains your unique ID key for each row

Value

a DT object to present the primary table

Examples

## Not run: 
con <- pool::dbPool(DBI::dbConnect(RSQLite::SQLite(), 'iris.db'))
cdr_make_db_tbls(con, iris)
cdr_DB2RT_primary(con, 'iris')
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.