__init__ ([filename, data])
|
Create a new ODBC config instance, loading data from the given file and/or data string. |
add_source (name, driver)
|
Add an ODBC data source to the configuration. |
add_source_spec (name, spec)
|
Add an ODBC data source specification to the configuration. |
del_source (name)
|
Remove an ODBC data source from the configuration. |
del_source_spec (name)
|
Remove an ODBC data source specification from the configuration. |
load ([filename, data])
|
Load data from the given file and/or data string. |
odbc_repr ()
|
Get the full, odbc.ini-style representation of this ODBC configuration. |
set_odbc_info (key, value)
|
Set an option for the ODBC handling specified in the configuration. |
write (filename)
|
Write the current ODBC configuration to the given file. |