Skip to contents

Updates the primary db table by specifying value to change, corresponding db table, unique row ID, and column

Usage

cdr_update_db_primary_tbl(
  conn_pool = conn_pool,
  db_tbl_name = NULL,
  update_value = NULL,
  value_colname = NULL,
  value_rowuid = NULL,
  key_column = NULL
)

Arguments

conn_pool

pool connection object: the pool of connections established by the session

db_tbl_name

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

update_value

number or string: the value to update already in the correct data type

value_colname

string: the specific column name where the value to update is located

value_rowuid

number or string: the specific row unique ID that corresponds to the row where the value to update is located (key)

key_column

string: the name of the column with the unique ID (key column)

Value

TRUE