| dbGetInfo,TrinoConnection-method | R Documentation |
Reports the connection's settings plus the coordinator's version, read from
/v1/info. If that endpoint cannot be reached, db.version is NA rather
than an error, so the rest of the metadata stays available.
## S4 method for signature 'TrinoConnection'
dbGetInfo(dbObj, ...)
dbObj |
A TrinoConnection object. |
... |
Unused, for compatibility with the generic. |
A list with db.version, host, port, user, catalog and
schema.
con <- DBI::dbConnect(RTrino::Trino(), host = Sys.getenv("RTRINO_TEST_URL"),
catalog = "tpch", schema = "tiny")
DBI::dbGetInfo(con)
DBI::dbDisconnect(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.