rquery (version 1.4.6)

pre_sql_to_query.pre_sql_token: Convert a pre_sql token object to SQL query text.

Description

Convert a pre_sql token object to SQL query text.

Usage

# S3 method for pre_sql_token
pre_sql_to_query(
  x,
  db_info,
  ...,
  source_table = NULL,
  source_limit = NA_real_,
  using = NULL,
  qualifiers = NULL
)

Arguments

x

the pre_sql token

db_info

representation of the database to convert to

...

force later arguments to be by name

source_table

concrete table for query

source_limit

numeric limit on rows from this source table

using

TBD

qualifiers

named ordered vector of strings carrying additional db hierarchy terms, such as schema.

Value

SQL query text