ODPI::ResultSet
Inherits DB::ResultSet < DB::Disposable < Reference < Object
Constructors
new(statement : Statement, num_cols : Int32)
SourceInstance methods
move_next
Move the next row in the result.
Return false if no more rows are available.
See #each
next_column_index
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.
read(t : Int32.class) : Int32
Sourceread(t : Int32 | ::Nil.class) : Int32 | Nil
Sourceread(t : Int64.class) : Int64
Sourceread(t : Int64 | ::Nil.class) : Int64 | Nil
Sourceread(t : Float32.class) : Float32
Sourceread(t : Float32 | ::Nil.class) : Float32 | Nil
Sourceread(t : Float64.class) : Float64
Sourceread(type : Float64 | ::Nil.class) : Float64 | Nil
Sourceread(t : Bool.class) : Bool
Sourceread(t : Time.class, pattern : String = "%Y-%m-%d %H:%M:%S.%N") : Time
Sourceread(t : String.class) : String
Sourceread(type : String | ::Nil.class) : String | Nil
Sourcerows_affected
Source