class documentation

class MxODBCConnector(Connector):

Known subclasses: sqlalchemy.dialects.mssql.mxodbc.MSDialect_mxodbc, sqlalchemy.dialects.sybase.mxodbc.SybaseDialect_mxodbc

View In Hierarchy

Undocumented

Class Method dbapi Undocumented
Class Method ​_load​_mx​_exceptions Import mxODBC exception classes into the module namespace, as if they had been imported normally. This is done here to avoid requiring all SQLAlchemy users to install mxODBC.
Method ​_error​_handler Return a handler that adjusts mxODBC's raised Warnings to emit Python standard warnings.
Method ​_get​_direct Undocumented
Method ​_get​_server​_version​_info Undocumented
Method create​_connect​_args Return a tuple of *args, **kwargs for creating a connection.
Method do​_execute Undocumented
Method do​_executemany Undocumented
Method is​_disconnect Undocumented
Method on​_connect Undocumented
Class Variable driver Undocumented
Class Variable supports​_native​_decimal Undocumented
Class Variable supports​_sane​_multi​_rowcount Undocumented
Class Variable supports​_unicode​_binds Undocumented
Class Variable supports​_unicode​_statements Undocumented
@classmethod
def dbapi(cls):

Undocumented

@classmethod
def _load_mx_exceptions(cls):
Import mxODBC exception classes into the module namespace, as if they had been imported normally. This is done here to avoid requiring all SQLAlchemy users to install mxODBC.
def _error_handler(self):
Return a handler that adjusts mxODBC's raised Warnings to emit Python standard warnings.
def _get_direct(self, context):

Undocumented

def _get_server_version_info(self, connection):

Undocumented

def create_connect_args(self, url):

Return a tuple of *args, **kwargs for creating a connection.

The mxODBC 3.x connection constructor looks like this:

connect(dsn, user='', password='',
clear_auto_commit=1, errorhandler=None)

This method translates the values in the provided URI into args and kwargs needed to instantiate an mxODBC Connection.

The arg 'errorhandler' is not used by SQLAlchemy and will not be populated.

def do_execute(self, cursor, statement, parameters, context=None):

Undocumented

def do_executemany(self, cursor, statement, parameters, context=None):

Undocumented

def is_disconnect(self, e, connection, cursor):

Undocumented

def on_connect(self):

Undocumented

driver: str =

Undocumented

supports_native_decimal: bool =

Undocumented

supports_sane_multi_rowcount: bool =

Undocumented

supports_unicode_binds: bool =

Undocumented

supports_unicode_statements: bool =

Undocumented