Learn R Programming

odbc (version 1.0.0)

OdbcResult: Odbc Result Methods

Description

Implementations of pure virtual functions defined in the DBI package for OdbcResult objects.

Usage

"dbClearResult"(res, ...)
"dbFetch"(res, n = -1, ..., row.names = NA)
"dbHasCompleted"(res, ...)
"dbGetInfo"(dbObj, ...)
"dbIsValid"(dbObj, ...)
"dbGetStatement"(res, ...)
"dbColumnInfo"(res, ...)
"dbGetRowCount"(res, ...)
"dbGetRowsAffected"(res, ...)
"dbBind"(res, params, ...)

Arguments

res
An object inheriting from DBIResult.
...
Other arguments passed on to methods.
n
maximum number of records to retrieve per fetch. Use n = -1 to retrieve all pending records. Some implementations may recognize other special values.
row.names
Either TRUE, FALSE, NA or a string.

If TRUE, always translate row names to a column called "row_names". If FALSE, never translate row names. If NA, translate rownames only if they're a character vector.

A string is equivalent to TRUE, but allows you to override the default name.

For backward compatibility, NULL is equivalent to FALSE.

dbObj
An object inheriting from DBIObject, i.e. DBIDriver, DBIConnection, or a DBIResult
params
A list of bindings