class MySql::Connection
- MySql::Connection
- DB::Connection
- Reference
- Object
Defined in:
mysql/connection.crConstructors
Instance Method Summary
-
#build_prepared_statement(query) : MySql::Statement
:nodoc:
-
#build_unprepared_statement(query) : MySql::UnpreparedStatement
:nodoc:
-
#do_close
Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
Constructor Detail
def self.new(options : DB::Connection::Options, mysql_options : MySql::Connection::Options)
#
Instance Method Detail
def build_prepared_statement(query) : MySql::Statement
#
Description copied from class DB::Connection
:nodoc:
def build_unprepared_statement(query) : MySql::UnpreparedStatement
#
Description copied from class DB::Connection
:nodoc:
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.