dbIsValid-TrinoConnection-method: Is this connection or result still usable?

dbIsValid,TrinoConnection-methodR Documentation

Is this connection or result still usable?

Description

A connection is valid until dbDisconnect() is called. A result is valid until it is cleared by dbClearResult() - a result whose rows have all been fetched is still valid, so that dbColumnInfo() and friends keep working.

Usage

## S4 method for signature 'TrinoConnection'
dbIsValid(dbObj, ...)

## S4 method for signature 'TrinoResult'
dbIsValid(dbObj, ...)

Arguments

dbObj

A TrinoConnection or TrinoResult object.

...

Unused, for compatibility with the generic.

Value

A logical scalar.


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