Package turbogears :: Package command :: Module base :: Class SQL
[hide private]

Class SQL

source code


Wrapper command for sqlobject-admin, and provide some sqlalchemy support.

This automatically supplies sqlobject-admin with the database that is found in the config file. Will also supply the model module as appropriate.

Instance Methods [hide private]
 
__init__(self, version)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
run(self)
Executes the sqlobject-admin code.
source code
 
fix_egginfo(self, eggname) source code

Inherited from CommandWithDB: find_config

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  desc = 'Run the database provider manager'
  need_project = True

Inherited from CommandWithDB: config

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, version)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)