class SQLite3::ResultSet

Defined in:

sqlite3/result_set.cr

Instance Method Summary

Instance Method Detail

def column_count : Int32 #
Description copied from class DB::ResultSet

Returns the number of columns in the result


[View source]
def column_name(index) : String #

[View source]
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.


[View source]
def next_column_index : Int32 #
Description copied from class DB::ResultSet

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.


[View source]
def read(t : Int32.class) : Int32 #

[View source]
def read(type : (Int32 | ::Nil).class) : Int32 | Nil #

[View source]
def read(t : Float32.class) : Float32 #

[View source]
def read(type : (Float32 | ::Nil).class) : Float32 | Nil #

[View source]
def read(t : Time.class) : Time #

[View source]
def read(t : (Time | ::Nil).class) : Time | Nil #

[View source]
def read(t : Bool.class) : Bool #

[View source]
def read(t : (Bool | ::Nil).class) : Bool | Nil #

[View source]
def read #
Description copied from class DB::ResultSet

Reads the next column value


[View source]
def to_unsafe #

[View source]