So I'm digging through code and getting a feel for how things work with 
SelectResults and SQLObject objects in order to eventually add some 
groupBy and extra columns support to the SQLObject.select class method.

I noticed that in queryForSelect method of the DBAPI class in 
dbconnection.py, there is code for building a SQL select statement up 
from scratch. Is there a reason why this doesn't just use sqlbuilder's 
support for building select statements? I assumed that's what would 
happen so that I'd just have to add a groupBy to that select statement 
creation, but DBAPI appears to build its own SQL code independently of 
sqlbuilder.

Wouldn't it be better for it to use sqlbuilder, or is there some reason 
it doesn't (like it was written before sqlbuilder, perhaps?)

- Sean


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to