dbHasCompleted | R Documentation |
This method returns if the query has completed.
## S4 method for signature 'AthenaResult' dbHasCompleted(res, ...)
res |
An object inheriting from DBIResult. |
... |
Other arguments passed on to methods. |
dbHasCompleted()
returns a logical scalar. TRUE
if the query has completed, FALSE
otherwise.
dbHasCompleted
## Not run: # Note: # - Require AWS Account to run below example. # - Different connection methods can be used please see `RAthena::dbConnect` documnentation library(DBI) # Demo connection to Athena using profile name con <- dbConnect(RAthena::athena()) # Check if query has completed res <- dbSendQuery(con, "show databases") dbHasCompleted(res) dbClearResult(res) # Disconnect from Athena dbDisconnect(con) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.