On Fri, Aug 04, 2006 at 06:16:31PM -0400, Sean McBride wrote:
> 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.

   I always was surprised by this dichotomy, too.

> Wouldn't it be better for it to use sqlbuilder

   I think it would. But moving DBAPI code to sqlbuilder would be a hard
job now, when they are so different.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to