class MySql::ResultSet
 
  - MySql::ResultSet
 - DB::ResultSet
 - Reference
 - Object
 
Defined in:
mysql/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
index0-based position. - #columns : Array(MySql::ColumnSpec)
 - 
        #do_close
        
          
Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
 - 
        #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(t : Bool.class)
 - #read(t : (Bool | Nil).class)
 - #read(t : (UUID | Nil).class)
 - 
        #read
        
          
Reads the next column value
 
Constructor Detail
Instance Method Detail
Returns the number of columns in the result
Returns the name of the column in index 0-based position.
Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
Move the next row in the result.
Return false if no more rows are available.
See #each
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.