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.

Thanks,

Toby

Oleg Broytmann wrote:
On Fri, May 26, 2006 at 11:49:01AM -0700, Tobiah wrote:
I want use SQLObject in such a way that it discovers
my database automatically, and builds classes for each
table.  The docs just mention that it can be done, but
I'm not exactly sure how.

   If you know the name of the table, just use fromDatabase=True. So you
only need to list all tables for a database.

Oleg.



-------------------------------------------------------
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

Reply via email to