Class DatabaseRemover
Complement the Loader functionality by fully removing a database.
This probably isn't really useful for normal purposes, since you
can just do a:
DROP DATABASE db_name
and then recreate the database. But, it's really useful for testing
purposes.
YB: now use the cascaded deletions
Method Summary |
|
__init__ (self,
adaptor,
dbid)
Initialize with a database id and adaptor connection. |
|
remove (self)
Remove everything related to the given database id. |
__init__(self,
adaptor,
dbid)
(Constructor)
Initialize with a database id and adaptor connection.
-
|
remove(self)
Remove everything related to the given database id.
-
|