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:
-
#connection_alive? : Bool
Check if the connection is still alive and functional
-
#do_close
Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
- #driver_name : String
- #max_identifier_length : Int32
-
#supports_transactions? : Bool
Public method to check if driver supports specific features
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.