Cool, there is no special reason why I need to use tuples, so I'm just glad I got something to work.
connection.sqlrepr(Select(...)) is preferred over str(Select(...)) then is it? Thanks for that quick response on my question Oleg, I actually did'nt get yours untill after I responded to my own as my email server at work here is a bit sluggish :) --gabe On Thursday 20 April 2006 1:33 pm, Luke Opperman wrote: > sqlbuilder.Select looks like it's supposed to handle lists or tuples > (although yes, by type-checking). And then in __sqlrepr__ it appears it is > using > > things = self.items[:] > > Presumably this is intended a) to make a copy so that appending to things > doesn't update self.items and b) to cast to a list so that append works? > Regardless, neither of these work for tuples: aTuple[:] returns the same > tuple, and returns a tuple. :) > > changing that to > > things = list(self.items) > > should make it work. > > - Luke > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > sqlobject-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
