class SQLite3::ResultSet
- SQLite3::ResultSet
- DB::ResultSet
- Reference
- Object
Defined in:
sqlite3/result_set.crInstance Method Summary
-
#column_count : Int32
Returns the number of columns in the result
- #column_name(index) : String
-
#move_next : Bool
Advances to the next row.
- #read(t : Int32.class) : Int32
- #read(type : (Int32 | ::Nil).class) : Int32 | Nil
- #read(t : Float32.class) : Float32
- #read(type : (Float32 | ::Nil).class) : Float32 | Nil
- #read(t : Time.class) : Time
- #read(t : (Time | ::Nil).class) : Time | Nil
- #read(t : Bool.class) : Bool
- #read(t : (Bool | ::Nil).class) : Bool | Nil
-
#read
Reads the next column value
- #to_unsafe
Instance Method Detail
def column_count : Int32
#
Description copied from class DB::ResultSet
Returns the number of columns in the result
def move_next : Bool
#
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.