buildJoinQuery: Build a JOIN SQL Query

Description Usage Value

View source: R/deprecated.R

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
14
15
16
17
18
buildJoinQuery(
  fields = "*",
  distinct = FALSE,
  schema,
  tableName,
  column,
  joinOnSchema,
  joinOnTableName,
  joinOnColumn,
  joinType = "LEFT",
  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.