class

SQLite3::ResultSet

Inherits DB::ResultSet < DB::Disposable < Reference < Object

Instance methods

column_count

Returns the number of columns in the result

Source
column_name(index) : String
Source
move_next

Advances to the next row. Returns true if there's a next row, false otherwise. Must be called at least once to advance to the first row.

Source
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.

Source
read(t : UInt8.class) : UInt8
Source
read(type : UInt8 | ::Nil.class) : UInt8 | Nil
Source
read(t : UInt16.class) : UInt16
Source
read(type : UInt16 | ::Nil.class) : UInt16 | Nil
Source
read(t : UInt32.class) : UInt32
Source
read(type : UInt32 | ::Nil.class) : UInt32 | Nil
Source
read(t : Int8.class) : Int8
Source
read(type : Int8 | ::Nil.class) : Int8 | Nil
Source
read(t : Int16.class) : Int16
Source
read(type : Int16 | ::Nil.class) : Int16 | Nil
Source
read(t : Int32.class) : Int32
Source
read(type : Int32 | ::Nil.class) : Int32 | Nil
Source
read(t : Float32.class) : Float32
Source
read(type : Float32 | ::Nil.class) : Float32 | Nil
Source
read(t : Time.class) : Time
Source
read(t : Time | ::Nil.class) : Time | Nil
Source
read(t : Bool.class) : Bool
Source
read(t : Bool | ::Nil.class) : Bool | Nil
Source
read

Reads the next column value

Source
to_unsafe
Source