Re: [SQLObject] .select() on a foreign key

2008-01-30 Thread Oleg Broytmann
On Mon, Jan 28, 2008 at 05:59:46PM +0300, Oleg Broytmann wrote: > I got an idea to add a magic > method to the very SQLObject class that allows rendering an SQLObject in > SQLExpressions by returning its id... well, str(id). >That fixes your problem though I have to think about it some more to

Re: [SQLObject] .select() on a foreign key

2008-01-28 Thread Oleg Broytmann
Hello. Sorry for the late answer. I really had been thinking about it all these days. On Sat, Jan 26, 2008 at 02:11:26AM -0800, Juerg Lemke wrote: > would you consider making > ..select() refuse to work on foreign keys? Or give the > right result? > > An example (I meant to put this on the wiki,