Oleg Broytmann wrote:
On Tue, May 30, 2006 at 01:05:07PM -0700, Toby wrote:
I know about fromDatabase, but that forces me to
know about, and create a class for each table in
my database. I don't know how I would create these
classes on the fly, in response to examination of
the list of tables in the database.
Something like this:
for table_name in my_list_of_tables:
class Table(SQLObject):
class sqlmeta:
table=table_name
fromDatabase=True
(Short in the dark, no more; just to explain the idea...)
Oleg.
This is more what I was after, but wouldn't this
just keep redefining the class Table? How would
I point to the one that I wanted when it came
time to use them?
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss