query_substitute: Replace parameters in query

View source: R/queries.R

query_substituteR Documentation

Replace parameters in query

Description

Replace parameters in query

Usage

query_substitute(
  qry,
  ...,
  query_location = queries_default_location(),
  include_header = FALSE,
  append_params = FALSE
)

Arguments

qry

a query object or name of a query

...

parameter values

query_location

the location of the query

include_header

if true, the header will be included in the sql query

append_params

should the parameter values be appended to the query in a comment?

Value

a formatted query


colin-fraser/queries documentation built on April 14, 2022, 2:12 p.m.