class MySql::Connection

Defined in:

mysql/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : DB::Connection::Options, mysql_options : MySql::Connection::Options) #

[View source]

Instance Method Detail

def build_prepared_statement(query) : MySql::Statement #
Description copied from class DB::Connection

:nodoc:


[View source]
def build_unprepared_statement(query) : MySql::UnpreparedStatement #
Description copied from class DB::Connection

:nodoc:


[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]