class

MySql::TextResultSet

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

Implementation of ProtocolText::Resultset. Used for unprepared statements.

Constructors

new(statement, column_count)
Source

Instance methods

column_count

Returns the number of columns in the result

Source
column_name(index : Int32) : String

Returns the name of the column in index 0-based position.

Source
columns
Source
do_close

Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.

Source
move_next

Move the next row in the result. Return false if no more rows are available. See #each

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 : Bool.class)
Source
read(t : (Bool | Nil).class)
Source
read(t : (UUID | Nil).class)
Source
read

Reads the next column value

Source