The DBAPI class is accessible via the sqlobject.dbconnection module.
queryInsertID must also be defined.
This is called for each new class; we use this opportunity to create an instance method that is bound to the class and this connection.
Apply an accumulate function(s) (SUM, COUNT, MIN, AVG, MAX, etc...) to the select object.
See the source for more information.