[DB-SIG] ANN: SQLObject 0.6 (and 0.5.3)
ianb at colorstudy.com
Wed Sep 22 08:14:03 CEST 2004
I've made a long-overdue release of SQLObject 0.6, and a final bug-fix
release for the 0.5 series.
What is SQLObject
SQLObject is an object-relational mapper. Your database tables are
described as classes, and rows are instances of those classes.
SQLObject is meant to be easy to use and quick to get started with.
SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, and
Firebird. It also has newly added support for Sybase and MaxDB (also
known as SAPDB).
Where is SQLObject
News and changes:
In 0.5.3: some small bug fixes, and an important fix when iterating over
selects in threaded environments.
The "SQLObject" module has been renamed "sqlobject".
To fetch objects from the database, use MyClass.get(id) (instead of
MyClass(id)). To create/insert objects, use MyClass(col=value, ...)
(instead of MyClass.new(col=value, ...)).
Better support for constraints.
Connections given using URLs, like 'mysql://user:pass@localhost/dbname'
Optional lazy updates -- SQL UPDATE executed only on demand.
For a more complete list, please see the news:
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the DB-SIG