Trees Indices Help
Trac
Package trac :: Package db :: Module api :: Class DatabaseManager

Class DatabaseManager

source code

 object --+ 
 | 
core.Component --+
 |
 DatabaseManager

Nested Classes

Inherited from core.Component : __metaclass__

Instance Methods
__init__(self, compmgr, init=<function __init__ at 0x7f8a65736398>, cls=<class 'trac.db.api.DatabaseManager'>)
x.__init__(...) initializes x; see help(type(x)) for signature source code
init_db(self) source code
get_connection(self) source code
shutdown(self, tid=None) source code
backup(self, dest=None)
Save a backup of the database. source code
get_connector(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.Component : __new__ , implements

Class Variables
connection_uri = <Option [trac] "database">
backup_dir = <Option [trac] "backup_dir">
timeout = <IntOption [trac] "timeout">
debug_sql = <BoolOption [trac] "debug_sql">
Properties
connectors
List of components that implement IDatabaseConnector

Inherited from object: __class__

Method Details

__init__(self, compmgr, init=<function __init__ at 0x7f8a65736398>, cls=<class 'trac.db.api.DatabaseManager'>)
(Constructor)

source code
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

backup(self, dest=None)

source code

Save a backup of the database.

@param dest: base filename to write to. Returns the file actually written.


Property Details

connectors

List of components that implement IDatabaseConnector
Get Method:
unreachable.extensions(component) - Return a list of components that declare to implement the extension point interface.

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /