[SQLObject] Aggregate columns / change connection
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Achim D. \(ProCoders\) <do...@pr...> - 2003-08-03 08:20:18
|
Hi, I've seen Brad Bollenbach very good talk at Europython, and now I finaly found the time to give SQLObject a try. I really like it, but have some questions: - In the examples, the connection is always hardcoded in the module, where my classes are definied. In real world apps I would like to specifiy the connection from outside of the module. I might have two different instances of my app, using two different servers/databases. How would I do that? - What's about aggregate columns? I want to build a system with some kind of ranking mechanism, where I usually only want to show the average ranking. As far as I understand, I would have to calculate that value 'by hand', if I use SQLObject. Is that right? regards, Achim |