class ODBC::Connection
- ODBC::Connection
- DB::Connection
- Reference
- Object
Defined in:
odbc/connection.crConstructors
-
.new(options : DB::Connection::Options, odbc_options : Options)
def initialize(ctx : DB::ConnectionContext)
Instance Method Summary
-
#build_prepared_statement(query) : ODBC::Statement
:nodoc:
-
#build_unprepared_statement(query) : ODBC::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 initialize(ctx : DB::ConnectionContext)
Instance Method Detail
def build_prepared_statement(query) : ODBC::Statement
#
Description copied from class DB::Connection
:nodoc:
def build_unprepared_statement(query) : ODBC::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.