dbFetch-OdbcResult-method: Fetch query result from database

dbFetch,OdbcResult-methodR Documentation

Fetch query result from database

Description

This method is an adaptation from the eponymous function in the odbc package and is an implementation of the method dbFetch defined in the DBI package. Additional to the odbc package, it replaces a cryptic error message by an informative error message.

Usage

## S4 method for signature 'OdbcResult'
dbFetch(res, n = -1, ...)

Arguments

res

An object inheriting from DBIResult, created by dbSendQuery().

n

maximum number of records to retrieve per fetch. Use n = -1 or n = Inf to retrieve all pending records. Some implementations may recognize other special values.

...

Other arguments passed on to methods.


inbo/inbodb documentation built on Feb. 21, 2025, 9:04 a.m.