dbGetInfo-TrinoConnection-method: Metadata about a Trino connection

dbGetInfo,TrinoConnection-methodR Documentation

Metadata about a Trino connection

Description

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 signature 'TrinoConnection'
dbGetInfo(dbObj, ...)

Arguments

dbObj

A TrinoConnection object.

...

Unused, for compatibility with the generic.

Value

A list with db.version, host, port, user, catalog and schema.

Examples


con <- DBI::dbConnect(RTrino::Trino(), host = Sys.getenv("RTRINO_TEST_URL"),
                      catalog = "tpch", schema = "tiny")
DBI::dbGetInfo(con)
DBI::dbDisconnect(con)


RTrino documentation built on Oct. 15, 2026, 5:08 p.m.