Hello everyone,
I'm building an application witch load plugins.
Each plugin can be instancied multiple times. For each instance, i would
like to
use SQLObject to map my plugin instance into a database.
My probleme is how to use SQLObject in order to make _table initialized
at instance's creation.
An example of what i'm trying to do:
----snip-------
class Plugin(SQLObject):
.....
?
.....
instance1 = Plugin(tablename = "instance1")
instance2 = Plugin(tablename = "instance2")
...
instance1.createTable() # create table "instance1" into my database
instance2.createTable() # create table "instance2" into my database
----snip-------
Thanks,
François Visconte <fv at kh3 dot com>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss