[SQLObject] ezSqlObject convenience wrapper
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: David M. <da...@re...> - 2004-03-06 08:32:20
|
Hi, I've just put up a module called EzSqlObject, which wraps SQLObject's connection, table and results classes, and adds a few conveniences: * .tables attribute in connection objects, lists out the tables in the database * .columns attribute in table objects, lists the columns in the table * automatic retrieval of existing table structure from database (if not provided as a table class) * tables of a database available as attributes of connection object * Can fetch individual rows from a table or resultset via array index * automatic logging * dump() method in connection, table and results objects * len() works for table and results objects * doQuery() method for connection objects www.freenet.org.nz/python/ezsqlobject Hope someone finds it as handy as it is for me. Cheers David -- leave this line intact so your email gets through my junk mail filter |