dbplyr SQL methods
# S3 method for PrestoConnection
sql_query_save(con, sql, name, temporary = TRUE, ..., with = NULL)
A database connection.
a character string containing SQL statement.
The table name, passed on to DBI::dbQuoteIdentifier()
. Options are:
a character string with the unquoted DBMS table name,
e.g. "table_name"
,
a call to DBI::Id()
with components to the fully qualified table name,
e.g. Id(schema = "my_schema", table = "table_name")
a call to DBI::SQL()
with the quoted and fully qualified table name
given verbatim, e.g. SQL('"my_schema"."table_name"')
If a temporary table should be created. Default to TRUE in
the dbplyr::sql_query_save()
generic. The default value generates an
error in Presto. Using temporary = FALSE
to save the query in a
permanent table.
Other arguments used by individual methods.
An optional WITH clause for the CREATE TABLE statement.