Module api
source code
|
|
get_column_names(cursor)
Retrieve column names from a cursor, if possible. |
source code
|
|
|
|
|
Imports:
importlib,
os,
time,
urllib,
ABCMeta,
abstractmethod,
db_default,
IEnvironmentSetupParticipant,
ISystemInfoProvider,
BoolOption,
ConfigurationError,
IntOption,
Option,
ConnectionPool,
Table,
ConnectionWrapper,
ThreadLocal,
tag,
unicode_passwd,
_,
tag_,
Component,
ExtensionPoint,
Interface,
TracBaseError,
TracError,
TracValueError,
implements
|
Parse the database connection string.
The database connection string for an environment is specified through
the database option in the [trac] section of trac.ini.
- Returns:
- a tuple containing the scheme and a dictionary of attributes:
user, password, host, port, path, params.
|