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.
 - #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
        
        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 do_close
        #
      
      
        
              Description copied from module DB::Disposable
            
          
          Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
        
        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