sdr_dbGetQuery: Formats an RPostgres getQuery and then submits the query

Description Usage Arguments

View source: R/tools.R

Description

This function allows the text of a SQL query to be formatted across multiple lines in an R document, by stripping the line breaks prior to submitting the query based on provided con object.

Usage

1
sdr_dbGetQuery(con, query)

Arguments

con

A database connection object for RPostgres.

query

The query to be formatted.


station-demand-forecasting-tool/sdft documentation built on July 11, 2021, 4:23 a.m.