|
|
get_supported_schemes()
Return the connection URL schemes supported by the
connector, and their relative priorities as an iterable of
(scheme, priority) tuples. |
source code
|
|
|
|
get_connection(path,
log=None,
**kwargs)
Create a new connection to the database. |
source code
|
|
|
|
|
|
|
init_db(path,
schema=None,
log=None,
**kwargs)
Initialize the database. |
source code
|
|
|
|
destroy_db(self,
path,
log=None,
**kwargs)
Destroy the database. |
source code
|
|
|
|
db_exists(self,
path,
log=None,
**kwargs)
Return True if the database exists. |
source code
|
|
|
|
to_sql(table)
Return the DDL statements necessary to create the specified
table, including indices. |
source code
|
|
|
|
backup(dest)
Backup the database to a location defined by
trac.backup_dir |
source code
|
|
|
|
get_system_info()
Yield a sequence of (name, version) tuples describing the
name and version information of external packages used by the
connector. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|