query: Query

Description Usage Arguments See Also

View source: R/sql.R

Description

Query

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
query(
  conn,
  conn_fun = "pg13::local_connect()",
  checks = c("conn_status", "conn_type", "rows", "source_rows"),
  sql_statement,
  verbose = TRUE,
  render_sql = TRUE,
  render_only = FALSE,
  log_file = "",
  append_log = TRUE,
  sep_log = "\n",
  sql_style = c("inline", "chunk"),
  rmd_file = "",
  sql_file = "",
  warn_no_rows = "deprecated",
  warnMissingParameters = TRUE,
  ...
)

Arguments

conn

Connection object

sql_statement

A SQL Statement.

verbose

If TRUE, details on the activity are returned in the console, such as when the querying starting and was completed.

render_sql

If TRUE, the SQL statement for the operation is returned in the console.

warn_no_rows

If TRUE, a warning is given that query has returned 0 rows.

See Also

parse_expr


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