Google


ResultSet

sql result set.

class methods:

methods:

initialize(statement)

RDBC user do not have to call directly.

next

get next row of data. returns true if next row found.

getData(col=nil)
data(col=nil)

get actual data of current row.
if col is

  • a String, returns the data of a column named so.
  • an integer, returns the data of a column numbered so.
  • an Array, select columns recursively.
  • nil, returns entire a row.
if multiple columns selected, getData returns an Array.

metadata

returns a ResultSetMetaData object.

close