AdbiResult-class: Class AdbiResult (and methods)

AdbiResult-classR Documentation

Class AdbiResult (and methods)

Description

AdbiResult objects are created by DBI::dbSendQuery() or DBI::dbSendStatement(), and encapsulate the result of an SQL statement (either SELECT or not). They are a superclass of the DBIResult class. The "Usage" section lists the class methods overridden by adbi.

Usage

## S4 method for signature 'AdbiResult'
dbBindArrow(res, params, ...)

## S4 method for signature 'AdbiResult'
dbBind(res, params, ...)

## S4 method for signature 'AdbiResult'
dbClearResult(res, ...)

## S4 method for signature 'AdbiResult'
dbColumnInfo(res, ...)

## S4 method for signature 'AdbiResult'
dbGetRowCount(res, ...)

## S4 method for signature 'AdbiResult'
dbGetRowsAffected(res, ...)

## S4 method for signature 'AdbiResult'
dbGetStatement(res, ...)

## S4 method for signature 'AdbiResult'
dbHasCompleted(res, ...)

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

## S4 method for signature 'AdbiResult'
show(object)

Arguments

res

An object inheriting from DBIResult.

params

For dbBind(), a list of values, named or unnamed, or a data frame, with one element/column per query parameter. For dbBindArrow(), values as a nanoarrow stream, with one column per query parameter.

...

Other arguments passed on to methods.

dbObj

An object inheriting from DBIObject, i.e. DBIDriver, DBIConnection, or a DBIResult

object

Any R object

See Also

The corresponding generic functions DBI::dbFetch(), DBI::dbClearResult(), DBI::dbBind(), DBI::dbColumnInfo(), DBI::dbGetRowsAffected(), DBI::dbGetRowCount(), DBI::dbHasCompleted(), and DBI::dbGetStatement().


adbi documentation built on May 29, 2024, 7:12 a.m.