On Tue, Jan 23, 2007 at 05:25:14PM -0300, Leandro Lucarella wrote:
> >    There is an assumption that clauseTables is a list of *strings*. If you
> > want to change this you have to remove this assumption from
> > dbconnection.py.
> 
> But an SQLExpression can mimic a string :)
[skip]
> Is there any particular reason why you don't think Table is good for this?

   I don't think it is bad for this. I think the task to fix it is hard.
After a few minutes of thinking I understand that the problem is bigger and
lays at a higher level. The problem is that tableDict must be indexed by
table *names*, i.e., strings. This is to make the tables in the dict
unique. You don't want tableDict to be {"my_table": 1, MyTable: 1} - to
process MyTable the dict must be of length 1! Every table must be in the
dictionary once and only once.

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