send_list: Send a List of SQL Statements

Description Usage Arguments

Description

Iteratively send a list of SQL Statements such as the object returned by parseSQL.

Usage

1
2
3
4
5
6
7
8
9
send_list(
  conn,
  sqlList,
  verbose = TRUE,
  progressBar = TRUE,
  skipErrors = TRUE,
  errorFile = NULL,
  ...
)

Arguments

conn

Connection object

sqlList

list object of queries

verbose

If TRUE, the SQL is printed back before executing

progressBar

If TRUE, a progress bar is returned in the console.

skipErrors

If TRUE, if a SQL execution returns an error, the statement is printed back in red in the console and the iteration will proceed to the next sql statement in line.

errorFile

(optional) path to the error file where any errors are written to if not null.

...

Additional arguments to pass onto the DatabaseConnector::dbGetQuery function


patelm9/pg13 documentation built on Dec. 26, 2021, 8:17 p.m.