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

SQLite3Database v0.1.0 documentation

API Documentation

sqlite3database.helper.connect(*k, **p)
sqlite3database.helper.insert_record(connection, table_name, data_dict, primary_key_column_name=None, database=None)
Implementation of insert_record() for SQLite3. See insert_record() for details.
sqlite3database.helper.sqlite3UnicodeFetch(encoding)
sqlite3database.helper.sqlite3_utf8_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.

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