Re: [SQLObject] .select() on a foreign key
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2008-01-30 13:23:21
|
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 > find out if it breaks something. And I need to run tests. After that the > fix could land into SQLObject 0.10 beta 2. Done. Commit 3229. It needed more work than I anticipated initially, and I had to ask for Luke Opperman's help. But finally it is finished. Will be in SQLObject 0.10 beta2. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |