db.result.get.value {RPgSQL} | R Documentation |
db.result.get.value()
returns values contained in tuples that resulted
from the last query.
db.result.get.value(row=1, col=1)
row |
The row number |
col |
The column number |
The value of the tuple.
Row and column numbers are always 1-based
Timothy H. Keitt
db.execute
, db.result.rows
, db.result.columns
if (db.connection.open()) { db.execute("select usename, usesysid from pg_user", clear=F); row <- db.result.rows(); col <- db.result.columns(); cat("Value at last row and column is", db.result.get.value(row=row, col=col), "\n") db.clear.result() }