DomoResult | R Documentation |
Implementations of pure virtual functions defined in the DBI
package for
DomoResult objects.
## S4 method for signature 'DomoResult' show(object) ## S4 method for signature 'DomoResult' dbIsValid(dbObj, ...) ## S4 method for signature 'DomoResult' dbBind(res, params, ...) ## S4 method for signature 'DomoResult' dbFetch(res, n = -1, ...) ## S4 method for signature 'DomoResult' dbGetRowCount(res, ...) ## S4 method for signature 'DomoResult' dbGetRowsAffected(res, ...) ## S4 method for signature 'DomoResult' dbGetStatement(res, ...) ## S4 method for signature 'DomoResult' dbColumnInfo(res, ...) ## S4 method for signature 'DomoResult' dbClearResult(res, ...) ## S4 method for signature 'DomoResult' dbHasCompleted(res, ...)
object |
Any R object |
dbObj |
An object inheriting from DBIObject, i.e. DBIDriver, DBIConnection, or a DBIResult |
... |
Other arguments to methods. |
res |
An object inheriting from DBIResult. |
params |
A list of bindings, named or unnamed. |
n |
maximum number of records to retrieve per fetch. Use |
## Not run: library(DBI) con <- dbConnect(domo::domo()) dataset_id <- "77194824-a5c1-11ea-9600-0116159276e2" res <- dbSendQuery(con, "SELECT mpg FROM mtcars WHERE mpg > ?", dataset_id) dbBind(res, list(20)) dbHasCompleted(res) dbGetRowCount(res) dbFetch(res, n = 1) dbHasCompleted(res) dbGetRowCount(res) dbFetch(res) dbHasCompleted(res) dbGetRowCount(res) dbClearResult(res) dbDisconnect(con) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.