buildQuery: Build a SQL Query

Description Usage Value

Description

A SQL query is built using the given arguments. Currently, only 1 whereIn and whereNot in parameters can be set.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
buildQuery(
  fields = "*",
  distinct = FALSE,
  schema,
  tableName,
  whereInField = NULL,
  whereInVector = NULL,
  whereNotInField = NULL,
  whereNotInVector = NULL,
  caseInsensitive = TRUE,
  n = NULL,
  n_type = c("limit", "random")
)

Value

SQL statement as a character string.


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