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

pre_sql_to_query.pre_sql_tokenR Documentation

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 class '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


rquery documentation built on Aug. 20, 2023, 9:06 a.m.