class Focus::CachedResultSet
- Focus::CachedResultSet
- DB::ResultSet
- Reference
- Object
Defined in:
focus/cached_result_set.crConstructors
Instance Method Summary
-
#column_count : Int32
Returns the number of columns in the result
-
#column_name(index : Int32) : String
Returns the name of the column in
index
0-based position. -
#move_next : Bool
Move the next row in the result.
-
#next_column_index : Int32
Returns the column index that corresponds to the next
#read
. -
#read
Reads the next column value
Constructor Detail
Instance Method Detail
def column_count : Int32
#
Description copied from class DB::ResultSet
Returns the number of columns in the result
def column_name(index : Int32) : String
#
Description copied from class DB::ResultSet
Returns the name of the column in index
0-based position.
def move_next : Bool
#
Description copied from class DB::ResultSet
Move the next row in the result.
Return false
if no more rows are available.
See #each
def next_column_index : Int32
#
Description copied from class DB::ResultSet
Returns the column index that corresponds to the next #read
.
If the last column of the current row has been read, it must return #column_count
.