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

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.