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.
Usage
# S4 method for class 'TrinoConnection'
dbGetInfo(dbObj, ...)Arguments
- dbObj
A TrinoConnection object.
- ...
Unused, for compatibility with the generic.
Examples
if (FALSE) { # nzchar(Sys.getenv("RTRINO_TEST_URL"))
con <- DBI::dbConnect(RTrino::Trino(), host = Sys.getenv("RTRINO_TEST_URL"),
catalog = "tpch", schema = "tiny")
DBI::dbGetInfo(con)
DBI::dbDisconnect(con)
}