James Gardner: Home > Work > Code > PyODBCSQLServer2000Database > 0.1.0 > API Documentation

PyODBCSQLServer2000Database v0.1.0 documentation

API Documentation

pyodbcsqlserver2000database.helper.connect(**p)
pyodbcsqlserver2000database.helper.insert_record(connection, table_name, data_dict, primary_key_column_name=None, database=None)
Implementation of insert_record() for SQLServer 2000. See insert_record() for details.
pyodbcsqlserver2000database.helper.pyodbcLinuxUnicodeFetch(encoding)
Used on Linux when the unicode_results=True setting doesn’t work.
pyodbcsqlserver2000database.helper.pyodbc_linux_latin1_fetch(conversion, state=None)

Convert the results of a cursor fetch to the correct format.

The conversion.value.cursor.description argument contains information about each value returned in the form of a 7-item tuple: (name, type_code, display_size, internal_size, precision, scale, null_ok). The .description attribute will be None for operations which do not return rows.

The type_code will be different for each driver.

pyodbcsqlserver2000database.helper.update_config(flow, name, config)
James Gardner: Home > Work > Code > PyODBCSQLServer2000Database > 0.1.0 > API Documentation