dbGetQuery: dbGetQuery

dbGetQuery,MoJAthenaConnection,character-methodR Documentation

dbGetQuery

Description

See noctua::dbGetQuery(). This function calls noctua::dbGetQuery(), after replacing any references to ⁠__temp__⁠ in the statement with your temporary database in Athena. Your temporary database will be created if you do not already have one.

Usage

## S4 method for signature 'MoJAthenaConnection,character'
dbGetQuery(conn, statement, statistics = FALSE, ...)

Arguments

conn

A DBIConnection object, as returned by connect_athena()

statement

a character string containing SQL.

statistics

If set to TRUE will print out AWS Athena statistics of query.

...

Other parameters passed on to methods.


moj-analytical-services/Rdbtools documentation built on June 22, 2024, 8:46 p.m.