class MySql::TextResultSet

Overview

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

Defined in:

mysql/text_result_set.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(statement, column_count) #

[View source]

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 : Int32) : String #
Description copied from class DB::ResultSet

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


[View source]
def columns : Array(MySql::ColumnSpec) #

[View source]
def do_close #
Description copied from module DB::Disposable

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


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

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


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

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

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

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

Reads the next column value


[View source]